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:
parent
b4b9a0c1c8
commit
1d96e80faf
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user