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 /net | |
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 'net')
-rw-r--r-- | net/sunrpc/svc.c | 2 | ||||
-rw-r--r-- | net/sunrpc/svcsock.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index 261e2d1dff10..0e659c665a8d 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c | |||
@@ -1262,7 +1262,7 @@ bc_svc_process(struct svc_serv *serv, struct rpc_rqst *req, | |||
1262 | struct kvec *resv = &rqstp->rq_res.head[0]; | 1262 | struct kvec *resv = &rqstp->rq_res.head[0]; |
1263 | 1263 | ||
1264 | /* Build the svc_rqst used by the common processing routine */ | 1264 | /* Build the svc_rqst used by the common processing routine */ |
1265 | rqstp->rq_xprt = serv->bc_xprt; | 1265 | rqstp->rq_xprt = serv->sv_bc_xprt; |
1266 | rqstp->rq_xid = req->rq_xid; | 1266 | rqstp->rq_xid = req->rq_xid; |
1267 | rqstp->rq_prot = req->rq_xprt->prot; | 1267 | rqstp->rq_prot = req->rq_xprt->prot; |
1268 | rqstp->rq_server = serv; | 1268 | rqstp->rq_server = serv; |
diff --git a/net/sunrpc/svcsock.c b/net/sunrpc/svcsock.c index db3013e4aa04..d265aa700bb3 100644 --- a/net/sunrpc/svcsock.c +++ b/net/sunrpc/svcsock.c | |||
@@ -1595,7 +1595,7 @@ static struct svc_xprt *svc_bc_create_socket(struct svc_serv *serv, | |||
1595 | xprt = &svsk->sk_xprt; | 1595 | xprt = &svsk->sk_xprt; |
1596 | svc_xprt_init(&svc_tcp_bc_class, xprt, serv); | 1596 | svc_xprt_init(&svc_tcp_bc_class, xprt, serv); |
1597 | 1597 | ||
1598 | serv->bc_xprt = xprt; | 1598 | serv->sv_bc_xprt = xprt; |
1599 | 1599 | ||
1600 | return xprt; | 1600 | return xprt; |
1601 | } | 1601 | } |