diff options
| author | 2010-09-27 14:00:49 +0400 | |
|---|---|---|
| committer | 2010-09-27 10:16:12 -0400 | |
| commit | 4fb8518bdac8e85f6580ea3f586adf396cd472bc (patch) | |
| tree | 887efb838b220afdd147faa1281d21cf0ee83cd8 /include/linux/sunrpc | |
| parent | sunrpc: Add routines that allow registering per-net caches (diff) | |
| download | linux-dev-4fb8518bdac8e85f6580ea3f586adf396cd472bc.tar.xz linux-dev-4fb8518bdac8e85f6580ea3f586adf396cd472bc.zip | |
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/linux/sunrpc')
| -rw-r--r-- | include/linux/sunrpc/svc_xprt.h | 2 |
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 *); |
