Messages in this thread Patch in this message | | | Date | Sat, 9 Dec 2000 06:00:42 -0800 | From | "David S. Miller" <> | Subject | Re: [PATCH] Re: kernel BUG at buffer.c:827 in test12-pre6 and 7 |
| |
Date: Sat, 9 Dec 2000 00:45:51 -0800 (PST) From: Linus Torvalds <torvalds@transmeta.com>
out: - if (nr) { - ll_rw_block(WRITE, nr, arr); - } else { - UnlockPage(page); - } + UnlockPage(page); ClearPageUptodate(page); return err; } @@ -1669,7 +1665,6 @@
It would seem that you would want to unlock the page _after_ clearing the uptodate bit to make sure people sleeping on the page do not see it set by accident.
Later, David S. Miller davem@redhat.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |