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

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

diff -u --recursive --new-file v2.1.92/linux/fs/smbfs/inode.c linux/fs/smbfs/inode.c
@@ -322,8 +322,6 @@
 {
 	struct smb_sb_info *server = &(sb->u.smbfs_sb);
 
-	lock_super(sb);
-
 	if (server->sock_file) {
 		smb_proc_disconnect(server);
 		smb_dont_catch_keepalive(server);
@@ -337,9 +335,6 @@
 	kfree(sb->u.smbfs_sb.temp_buf);
 	if (server->packet)
 		smb_vfree(server->packet);
-	sb->s_dev = 0;
-
-	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