lkml.org 
[lkml]   [1999]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.3.21: corrupt vfat mount hanging on D
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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.026 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site