SUNRPC: init per-net rpcbind spinlock
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Thu, 16 Feb 2012 13:42:12 +0000 (17:42 +0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 16 Feb 2012 19:00:48 +0000 (14:00 -0500)
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/sunrpc_syms.c

index d16ac088f6d8a9f5645b4f25d2a421863b2f110c..21d106e2ca06fb7f4d6a3f12ae3640f8d6956966 100644 (file)
@@ -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: