patch-2.1.93 linux/fs/ntfs/fs.c

Next file: linux/fs/proc/inode.c
Previous file: linux/fs/nfs/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.92/linux/fs/ntfs/fs.c linux/fs/ntfs/fs.c
@@ -693,12 +693,9 @@
 	ntfs_volume *vol;
 
 	ntfs_debug(DEBUG_OTHER, "ntfs_put_super\n");
-	/* Ensure that nobody uses the super block anymore */
-	lock_super(sb);
+
 	vol=NTFS_SB2VOL(sb);
-	/* Tell the kernel that the super block is no more used */
-	sb->s_dev = 0;
-	unlock_super(sb);
+
 	ntfs_release_volume(vol);
 	if(vol->nls_map)
 		unload_nls(vol->nls_map);

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