Skip to content

Commit

Permalink
SUNRPC: init per-net rpcbind spinlock
Browse files Browse the repository at this point in the history
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
  • Loading branch information
Stanislav Kinsbursky authored and Trond Myklebust committed Feb 16, 2012
1 parent b4b9a0c commit 1d96e80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/sunrpc/sunrpc_syms.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1d96e80

Please sign in to comment.