]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/linux/sunrpc/bc_xprt.h
NFS rename client back channel transport field
[mv-sheeva.git] / include / linux / sunrpc / bc_xprt.h
index 2c60e094fdec281e3b3c56b34f460e1a5b50431f..c50b458b8a3f48047556c3f120eb538971d26cd5 100644 (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;
 }