diff options
author | Pavel Emelyanov <xemul@parallels.com> | 2010-09-29 16:04:45 +0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2010-10-01 17:18:56 -0400 |
commit | c653ce3f0aee9bb2b221ebf3579385c06f81efcd (patch) | |
tree | d0f5a8018e2cf959b6bc1549ce75602ed179dca9 /net/sunrpc | |
parent | 62832c039eab9d03cd28a66427ce8276988f28b0 (diff) | |
download | talos-op-linux-c653ce3f0aee9bb2b221ebf3579385c06f81efcd.tar.gz talos-op-linux-c653ce3f0aee9bb2b221ebf3579385c06f81efcd.zip |
sunrpc: Add net to rpc_create_args
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/rpcb_clnt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sunrpc/rpcb_clnt.c b/net/sunrpc/rpcb_clnt.c index dac219a56ae1..83af38df3267 100644 --- a/net/sunrpc/rpcb_clnt.c +++ b/net/sunrpc/rpcb_clnt.c @@ -177,6 +177,7 @@ static DEFINE_MUTEX(rpcb_create_local_mutex); static int rpcb_create_local(void) { struct rpc_create_args args = { + .net = &init_net, .protocol = XPRT_TRANSPORT_TCP, .address = (struct sockaddr *)&rpcb_inaddr_loopback, .addrsize = sizeof(rpcb_inaddr_loopback), @@ -228,6 +229,7 @@ static struct rpc_clnt *rpcb_create(char *hostname, struct sockaddr *srvaddr, size_t salen, int proto, u32 version) { struct rpc_create_args args = { + .net = &init_net, .protocol = proto, .address = srvaddr, .addrsize = salen, |