summaryrefslogtreecommitdiff
path: root/include/linux/sunrpc/svc_xprt.h
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2011-01-06 05:04:31 +0300
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-01-06 22:46:24 +0300
commit2c2618c6f29c41a0a966f14f05c8bf45fcabb750 (patch)
treec247cfda9f847028e1d43cab1e69d2cd8a2146a4 /include/linux/sunrpc/svc_xprt.h
parentf4eecd5da3422e82e88e36c33cbd2595eebcacb1 (diff)
downloadlinux-2c2618c6f29c41a0a966f14f05c8bf45fcabb750.tar.xz
NFS associate sessionid with callback connection
The sessions based callback service is started prior to the CREATE_SESSION call so that it can handle CB_NULL requests which can be sent before the CREATE_SESSION call returns and the session ID is known. Set the callback sessionid after a sucessful CREATE_SESSION. Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc/svc_xprt.h')
-rw-r--r--include/linux/sunrpc/svc_xprt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/svc_xprt.h b/include/linux/sunrpc/svc_xprt.h
index aea0d438e3c7..357da5e0daa3 100644
--- a/include/linux/sunrpc/svc_xprt.h
+++ b/include/linux/sunrpc/svc_xprt.h
@@ -78,6 +78,7 @@ struct svc_xprt {
size_t xpt_remotelen; /* length of address */
struct rpc_wait_queue xpt_bc_pending; /* backchannel wait queue */
struct list_head xpt_users; /* callbacks on free */
+ void *xpt_bc_sid; /* back channel session ID */
struct net *xpt_net;
};