summaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-01-23 18:26:31 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-02-07 00:48:03 +0100
commitdc03085834a4530b2514708a643cd3fe38f35b21 (patch)
treefa90ddfeb798295d42783a8a336b4cd905f7fed1 /fs/nfs/internal.h
parentNFS: make cb_ident_idr per net ns (diff)
downloadlinux-dc03085834a4530b2514708a643cd3fe38f35b21.tar.xz
linux-dc03085834a4530b2514708a643cd3fe38f35b21.zip
NFS: make nfs_client_lock per net ns
This patch makes nfs_clients_lock allocated per network namespace. All items it protects are already network namespace aware. Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r--fs/nfs/internal.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
index 958fff2927c0..b38b73347af5 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -182,9 +182,6 @@ static inline void nfs_fs_proc_exit(void)
{
}
#endif
-#ifdef CONFIG_NFS_V4
-extern spinlock_t nfs_client_lock;
-#endif
/* nfs4namespace.c */
#ifdef CONFIG_NFS_V4