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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue