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

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

diff -u --recursive --new-file v2.1.92/linux/fs/autofs/inode.c linux/fs/autofs/inode.c
@@ -41,16 +41,13 @@
 	if ( !sbi->catatonic )
 		autofs_catatonic_mode(sbi); /* Free wait queues, close pipe */
 
-	lock_super(sb);
 	autofs_hash_nuke(&sbi->dirhash);
 	for ( n = 0 ; n < AUTOFS_MAX_SYMLINKS ; n++ ) {
 		if ( test_bit(n, sbi->symlink_bitmap) )
 			kfree(sbi->symlink[n].data);
 	}
 
-	sb->s_dev = 0;
 	kfree(sb->u.generic_sbp);
-	unlock_super(sb);
 
 	DPRINTK(("autofs: shutting down\n"));
 	

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