patch-2.1.93 linux/fs/nfs/inode.c
Next file: linux/fs/ntfs/fs.c
Previous file: linux/fs/ncpfs/inode.c
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Sat Apr 4 09:45:16 1998
- Orig file:
v2.1.92/linux/fs/nfs/inode.c
- Orig date:
Tue Mar 17 22:18:15 1998
diff -u --recursive --new-file v2.1.92/linux/fs/nfs/inode.c linux/fs/nfs/inode.c
@@ -126,10 +126,6 @@
struct nfs_server *server = &sb->u.nfs_sb.s_server;
struct rpc_clnt *rpc;
- /*
- * Lock the super block while we bring down the daemons.
- */
- lock_super(sb);
if ((rpc = server->client) != NULL)
rpc_shutdown_client(rpc);
@@ -142,8 +138,7 @@
nfs_invalidate_dircache_sb(sb);
kfree(server->hostname);
- 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