aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/svcsock.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2010-11-30 19:15:01 -0500
committerJ. Bruce Fields <bfields@redhat.com>2011-01-11 15:04:10 -0500
commitd75faea330dbd1873c9094e9926ae306590c0998 (patch)
tree36b8e50ad2d94c75e77dacd98ff02036ddd0f65f /net/sunrpc/svcsock.c
parentdcbeaa68dbbdacbbb330a86c7fc95a28473fc209 (diff)
rpc: move sk_bc_xprt to svc_xprt
This seems obviously transport-level information even if it's currently used only by the server socket code. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/svcsock.c')
-rw-r--r--net/sunrpc/svcsock.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/net/sunrpc/svcsock.c b/net/sunrpc/svcsock.c
index 52bd1130e83a..3bb400f86eae 100644
--- a/net/sunrpc/svcsock.c
+++ b/net/sunrpc/svcsock.c
@@ -987,15 +987,17 @@ static int svc_process_calldir(struct svc_sock *svsk, struct svc_rqst *rqstp,
987 vec[0] = rqstp->rq_arg.head[0]; 987 vec[0] = rqstp->rq_arg.head[0];
988 } else { 988 } else {
989 /* REPLY */ 989 /* REPLY */
990 if (svsk->sk_bc_xprt) 990 struct rpc_xprt *bc_xprt = svsk->sk_xprt.xpt_bc_xprt;
991 req = xprt_lookup_rqst(svsk->sk_bc_xprt, xid); 991
992 if (bc_xprt)
993 req = xprt_lookup_rqst(bc_xprt, xid);
992 994
993 if (!req) { 995 if (!req) {
994 printk(KERN_NOTICE 996 printk(KERN_NOTICE
995 "%s: Got unrecognized reply: " 997 "%s: Got unrecognized reply: "
996 "calldir 0x%x sk_bc_xprt %p xid %08x\n", 998 "calldir 0x%x xpt_bc_xprt %p xid %08x\n",
997 __func__, ntohl(calldir), 999 __func__, ntohl(calldir),
998 svsk->sk_bc_xprt, xid); 1000 bc_xprt, xid);
999 vec[0] = rqstp->rq_arg.head[0]; 1001 vec[0] = rqstp->rq_arg.head[0];
1000 goto out; 1002 goto out;
1001 } 1003 }