lkml.org 
[lkml]   [1999]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subjectminor [PATCH] for fat 2.3.25
Date
Hi,
I enclose a patch that fixes oops problem which happens sometimes while
trying to mount as fat-ish fs random data (eg. a floppy with dd'ed kernel
image). Kenel 2.3.2[45].

fat_brelse can't be used here as MSDOS_SB(sb)->cvf_format == NULL at this
point (it is set properly later...)

Regards
Andrzej

***********************************************************************
diff -u --recursive 2.3.25-1/fs/fat/inode.c linux/fs/fat/inode.c
--- 2.3.25-1/fs/fat/inode.c Mon Aug 30 19:23:14 1999
+++ linux/fs/fat/inode.c Sat Oct 30 00:24:27 1999
@@ -530,7 +530,7 @@
}
if (MSDOS_SB(sb)->fsinfo_offset + sizeof(struct fat_boot_fsinfo) > sb->s_blocksize) {
printk("fat_read_super: Bad fsinfo_offset\n");
- fat_brelse(sb, bh);
+ brelse(bh);
goto out_invalid;
}
fsinfo = (struct fat_boot_fsinfo *)
************************************************************************
--
=======================================================================
Andrzej M. Krzysztofowicz ankry@mif.pg.gda.pl
phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math., Technical University of Gdansk
-
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.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site