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

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

diff -u --recursive --new-file v2.1.92/linux/fs/ncpfs/inode.c linux/fs/ncpfs/inode.c
@@ -407,8 +407,6 @@
 {
 	struct ncp_server *server = NCP_SBP(sb);
 
-	lock_super(sb);
-
 	ncp_lock_server(server);
 	ncp_disconnect(server);
 	ncp_unlock_server(server);
@@ -423,9 +421,6 @@
 	ncp_kfree_s(server->packet, server->packet_size);
 
 	ncp_kfree_s(NCP_SBP(sb), sizeof(struct ncp_server));
-
-	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