From: Stanislav Kinsbursky Date: Thu, 16 Feb 2012 13:42:12 +0000 (+0400) Subject: SUNRPC: init per-net rpcbind spinlock X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1d96e80faff57b9eefa283b35716a384bbb3d5b3;p=openwrt%2Fstaging%2Fblogic.git SUNRPC: init per-net rpcbind spinlock Signed-off-by: Stanislav Kinsbursky Signed-off-by: Trond Myklebust --- diff --git a/net/sunrpc/sunrpc_syms.c b/net/sunrpc/sunrpc_syms.c index d16ac088f6d8..21d106e2ca06 100644 --- a/net/sunrpc/sunrpc_syms.c +++ b/net/sunrpc/sunrpc_syms.c @@ -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: