Messages in this thread |  | | Date | Thu, 21 Dec 2000 16:37:30 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: [PATCH] Re: fs corruption with invalidate_buffers() |
| |
On Fri, 22 Dec 2000, Jan Niehusmann wrote: > > This is the result - against test12-pre7, but works well with > test13-pre3:
This looks bogus.
You can't test "bh->b_next!=0", because that is entirely meaningless.
b_next can be NULL either because the buffer isn't hashed, or because the buffer _is_ hashed, but just happens to be last on the hash chain.
So testing "bh->b_next" doesn't actually tell you anything at all.
Linus
- 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/
|  |