aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtsock.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@parallels.com>2010-09-29 08:05:43 -0400
committerJ. Bruce Fields <bfields@redhat.com>2010-10-01 17:18:58 -0400
commit37aa2133731d9231eb834f700119f0d3f1ed2664 (patch)
tree2b4da236e76d590fb1bd675e4401af5d1ecff327 /net/sunrpc/xprtsock.c
parent9a23e332ec621d36e52cc7a978abc0917067b1aa (diff)
sunrpc: Tag rpc_xprt with net
The net is known from the xprt_create and this tagging will also give un the context in the conntection workers where real sockets are created. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/xprtsock.c')
-rw-r--r--net/sunrpc/xprtsock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c
index b1e36ec6fd80..4ef3a6a9445c 100644
--- a/net/sunrpc/xprtsock.c
+++ b/net/sunrpc/xprtsock.c
@@ -2272,7 +2272,7 @@ static struct rpc_xprt *xs_setup_xprt(struct xprt_create *args,
2272 return ERR_PTR(-EBADF); 2272 return ERR_PTR(-EBADF);
2273 } 2273 }
2274 2274
2275 xprt = xprt_alloc(sizeof(*new), slot_table_size); 2275 xprt = xprt_alloc(args->net, sizeof(*new), slot_table_size);
2276 if (xprt == NULL) { 2276 if (xprt == NULL) {
2277 dprintk("RPC: xs_setup_xprt: couldn't allocate " 2277 dprintk("RPC: xs_setup_xprt: couldn't allocate "
2278 "rpc_xprt\n"); 2278 "rpc_xprt\n");