summaryrefslogtreecommitdiff
path: root/net/sunrpc/sunrpc_syms.c
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-02-16 17:42:12 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-02-16 14:00:48 -0500
commit1d96e80faff57b9eefa283b35716a384bbb3d5b3 (patch)
treedbf7bcfa38be395d348c511a7d137d56d596e8cc /net/sunrpc/sunrpc_syms.c
parentb4b9a0c1c89464dabafef974960f509ce33ae1c0 (diff)
downloadlinux-3.10-1d96e80faff57b9eefa283b35716a384bbb3d5b3.tar.gz
linux-3.10-1d96e80faff57b9eefa283b35716a384bbb3d5b3.tar.bz2
linux-3.10-1d96e80faff57b9eefa283b35716a384bbb3d5b3.zip
SUNRPC: init per-net rpcbind spinlock
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/sunrpc_syms.c')
-rw-r--r--net/sunrpc/sunrpc_syms.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/sunrpc_syms.c b/net/sunrpc/sunrpc_syms.c
index d16ac088f6d..21d106e2ca0 100644
--- a/net/sunrpc/sunrpc_syms.c
+++ b/net/sunrpc/sunrpc_syms.c
@@ -50,6 +50,7 @@ static __net_init int sunrpc_init_net(struct net *net)
rpc_pipefs_init_net(net);
INIT_LIST_HEAD(&sn->all_clients);
spin_lock_init(&sn->rpc_client_lock);
+ spin_lock_init(&sn->rpcb_clnt_lock);
return 0;
err_unixgid: