Re: 2.3.21: corrupt vfat mount hanging on D

Andries.Brouwer@cwi.nl
Sat, 23 Oct 1999 01:53:39 +0200 (MET DST)


Ragnar Højland writes:

Code: c681d0b4 <fat_brelse+14/20> 00000000 <_EIP>: <===

This sounds like the following patch would fix things:

--- buffer.c~ Mon Aug 9 20:43:49 1999
+++ buffer.c Sat Oct 23 01:51:02 1999
@@ -27,7 +27,7 @@
}
void fat_brelse (struct super_block *sb, struct buffer_head *bh)
{
- if (bh)
+ if (bh && MSDOS_SB(sb)->cvf_format)
MSDOS_SB(sb)->cvf_format->cvf_brelse(sb,bh);
}
void fat_mark_buffer_dirty (

Andries

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/