SUNRPC: init per-net rpcbind spinlock

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
Stanislav Kinsbursky 2012-02-16 17:42:12 +04:00 committed by Trond Myklebust
parent b4b9a0c1c8
commit 1d96e80faf

View file

@ -50,6 +50,7 @@ static __net_init int sunrpc_init_net(struct net *net)
rpc_pipefs_init_net(net); rpc_pipefs_init_net(net);
INIT_LIST_HEAD(&sn->all_clients); INIT_LIST_HEAD(&sn->all_clients);
spin_lock_init(&sn->rpc_client_lock); spin_lock_init(&sn->rpc_client_lock);
spin_lock_init(&sn->rpcb_clnt_lock);
return 0; return 0;
err_unixgid: err_unixgid: