Re: Ext2 oops fix in empty_dir()

David S. Miller (davem@jenolan.rutgers.edu)
Wed, 23 Apr 1997 17:47:33 -0400


From: Jan Kratochvil <short@k332.feld.cvut.cz>
Date: Sun, 13 Apr 1997 11:03:26 +0200 (MET DST)

I've made `rmdir' on a broken floppy (CRC errors) and got an ext2
oops... The problem lies in `continue' statement which leaves `bh'
NULL and iterates next while. The modified if line dereferences
NULL bh and we've got it.

Patch applied...

---------------------------------------------////
Yow! 11.26 MB/s remote host TCP bandwidth & ////
199 usec remote TCP latency over 100Mb/s ////
ethernet. Beat that! ////
-----------------------------------------////__________ o
David S. Miller, davem@caip.rutgers.edu /_____________/ / // /_/ ><