diff options
author | Andy Adamson <andros@netapp.com> | 2011-01-05 21:04:35 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-01-06 14:46:25 -0500 |
commit | 4a19de0f4b693139bb10b7cc3cfe1f618576ba67 (patch) | |
tree | c947ed534254d08c5b8836349303844134a13d19 /include/linux/sunrpc/bc_xprt.h | |
parent | 42acd021824578fa0eeb6eb58d457c23ec5dc9c0 (diff) |
NFS rename client back channel transport field
Differentiate from server backchannel
Signed-off-by: Andy Adamson <andros@netapp.com>
Acked-by: Bruce Fields <bfields@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc/bc_xprt.h')
-rw-r--r-- | include/linux/sunrpc/bc_xprt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sunrpc/bc_xprt.h b/include/linux/sunrpc/bc_xprt.h index 2c60e094fdec..c50b458b8a3f 100644 --- a/include/linux/sunrpc/bc_xprt.h +++ b/include/linux/sunrpc/bc_xprt.h | |||
@@ -43,7 +43,7 @@ int bc_send(struct rpc_rqst *req); | |||
43 | */ | 43 | */ |
44 | static inline int svc_is_backchannel(const struct svc_rqst *rqstp) | 44 | static inline int svc_is_backchannel(const struct svc_rqst *rqstp) |
45 | { | 45 | { |
46 | if (rqstp->rq_server->bc_xprt) | 46 | if (rqstp->rq_server->sv_bc_xprt) |
47 | return 1; | 47 | return 1; |
48 | return 0; | 48 | return 0; |
49 | } | 49 | } |
@@ -51,7 +51,7 @@ static inline struct nfs4_sessionid *bc_xprt_sid(struct svc_rqst *rqstp) | |||
51 | { | 51 | { |
52 | if (svc_is_backchannel(rqstp)) | 52 | if (svc_is_backchannel(rqstp)) |
53 | return (struct nfs4_sessionid *) | 53 | return (struct nfs4_sessionid *) |
54 | rqstp->rq_server->bc_xprt->xpt_bc_sid; | 54 | rqstp->rq_server->sv_bc_xprt->xpt_bc_sid; |
55 | return NULL; | 55 | return NULL; |
56 | } | 56 | } |
57 | 57 | ||