summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@parallels.com>2010-09-27 14:00:49 +0400
committerJ. Bruce Fields <bfields@redhat.com>2010-09-27 18:16:12 +0400
commit4fb8518bdac8e85f6580ea3f586adf396cd472bc (patch)
tree887efb838b220afdd147faa1281d21cf0ee83cd8 /include
parent593ce16b943ea37d4ec62c377b32d7f3f4085e84 (diff)
downloadlinux-4fb8518bdac8e85f6580ea3f586adf396cd472bc.tar.xz
sunrpc: Tag svc_xprt with net
The transport representation should be per-net of course. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sunrpc/svc_xprt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sunrpc/svc_xprt.h b/include/linux/sunrpc/svc_xprt.h
index 5f4e18b3ce73..e50e3eca1c7c 100644
--- a/include/linux/sunrpc/svc_xprt.h
+++ b/include/linux/sunrpc/svc_xprt.h
@@ -66,6 +66,8 @@ struct svc_xprt {
struct sockaddr_storage xpt_remote; /* remote peer's address */
size_t xpt_remotelen; /* length of address */
struct rpc_wait_queue xpt_bc_pending; /* backchannel wait queue */
+
+ struct net *xpt_net;
};
int svc_reg_xprt_class(struct svc_xprt_class *);