NFS rename client back channel transport field

Differentiate from server backchannel

Signed-off-by: Andy Adamson <[email protected]>
Acked-by: Bruce Fields <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
This commit is contained in:
Andy Adamson authored and Trond Myklebust committed 2011-01-06 14:46:25 -05:00
1 parent 42acd02182
commit 4a19de0f4b
5 files changed
+11 -11

No files matched your search

+2 -2
View File
@@ -43,7 +43,7 @@ int bc_send(struct rpc_rqst *req);
*/
static inline int svc_is_backchannel(const struct svc_rqst *rqstp)
{
if (rqstp->rq_server->bc_xprt)
if (rqstp->rq_server->sv_bc_xprt)
return 1;
return 0;
}
@@ -51,7 +51,7 @@ static inline struct nfs4_sessionid *bc_xprt_sid(struct svc_rqst *rqstp)
{
if (svc_is_backchannel(rqstp))
return (struct nfs4_sessionid *)
rqstp->rq_server->bc_xprt->xpt_bc_sid;
rqstp->rq_server->sv_bc_xprt->xpt_bc_sid;
return NULL;
}