--- linux-uml-jbddebug/drivers/block/ll_rw_blk.c.=K0001=.orig Tue Nov 12 14:35:45 2002 +++ linux-uml-jbddebug/drivers/block/ll_rw_blk.c Tue Nov 12 14:35:45 2002 @@ -1129,7 +1129,9 @@ if (maxsector < count || maxsector - count < sector) { /* Yecch */ - bh->b_state &= (1 << BH_Lock) | (1 << BH_Mapped); + bh->b_state &= ~((1 << BH_Uptodate) | (1 << BH_Dirty) | + (1 << BH_New) | (1 << BH_Wait_IO) | + (1 << BH_Launder)); /* This may well happen - the kernel calls bread() without checking the size of the device, e.g.,