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

Next file: linux/fs/autofs/inode.c
Previous file: linux/fs/adfs/super.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.92/linux/fs/affs/super.c linux/fs/affs/super.c
@@ -46,7 +46,6 @@
 
 	pr_debug("affs_put_super()\n");
 
-	lock_super(sb);
 	for (i = 0; i < sb->u.affs_sb.s_bm_count; i++)
 		affs_brelse(sb->u.affs_sb.s_bitmap[i].bm_bh);
 	if (!(sb->s_flags & MS_RDONLY)) {
@@ -67,8 +66,6 @@
 	 */
 	set_blocksize(sb->s_dev, sb->u.affs_sb.s_blksize);
 
-	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