patch-2.1.93 linux/fs/fat/inode.c

Next file: linux/fs/filesystems.c
Previous file: linux/fs/ext2/super.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.92/linux/fs/fat/inode.c linux/fs/fat/inode.c
@@ -72,7 +72,6 @@
 
 void fat_put_super(struct super_block *sb)
 {
-	lock_super(sb);
 	if (MSDOS_SB(sb)->cvf_format) {
 		dec_cvf_format_use_count_by_version(MSDOS_SB(sb)->cvf_format->cvf_version);
 		MSDOS_SB(sb)->cvf_format->unmount_cvf(sb);
@@ -99,8 +98,7 @@
 		kfree(MSDOS_SB(sb)->options.iocharset);
 		MSDOS_SB(sb)->options.iocharset = NULL;
 	}
-	sb->s_dev = 0;
-	unlock_super(sb);
+
 	MOD_DEC_USE_COUNT;
 	return;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov