patch-2.1.93 linux/fs/adfs/super.c

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

diff -u --recursive --new-file v2.1.92/linux/fs/adfs/super.c linux/fs/adfs/super.c
@@ -98,13 +98,11 @@
 static void adfs_put_super (struct super_block *sb)
 {
 	int i;
-	lock_super (sb);
-	sb->s_dev = 0;
+
 	for (i = 0; i < sb->u.adfs_sb.s_map_size; i++)
 		brelse (sb->u.adfs_sb.s_map[i]);
 	kfree (sb->u.adfs_sb.s_map);
 	brelse (sb->u.adfs_sb.s_sbh);
-	unlock_super (sb);
 	MOD_DEC_USE_COUNT;
 }
 

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