I've found a small bug in fs/block_dev.c. The problem is that when read_ahead of disk
is smaller than twice blocksize (which is true for my disk on 4kb blocksize) then
no block is read. That results in !uptodate buffer and possible data corruption.
Small patch is attached.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:16 EST