mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
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:
1 parent
42acd02182
commit
4a19de0f4b
5 files changed
+11
-11
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user