diff options
author | Jeff Layton <jlayton@primarydata.com> | 2014-11-19 07:51:15 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-12-09 11:21:21 -0500 |
commit | 7501cc2bcf9a71cc1f19e38775c234815ee44578 (patch) | |
tree | cd60b136d4912a98a5efa722e4028bf5c3a29551 /net/sunrpc | |
parent | 4d152e2c9a6a3e3556ce5da7782a9e2836edbe0f (diff) |
sunrpc: move rq_local field to rq_flags
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/svcsock.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/sunrpc/svcsock.c b/net/sunrpc/svcsock.c index f9c052d508f0..cc331b6cf573 100644 --- a/net/sunrpc/svcsock.c +++ b/net/sunrpc/svcsock.c | |||
@@ -1145,7 +1145,10 @@ static int svc_tcp_recvfrom(struct svc_rqst *rqstp) | |||
1145 | 1145 | ||
1146 | rqstp->rq_xprt_ctxt = NULL; | 1146 | rqstp->rq_xprt_ctxt = NULL; |
1147 | rqstp->rq_prot = IPPROTO_TCP; | 1147 | rqstp->rq_prot = IPPROTO_TCP; |
1148 | rqstp->rq_local = !!test_bit(XPT_LOCAL, &svsk->sk_xprt.xpt_flags); | 1148 | if (test_bit(XPT_LOCAL, &svsk->sk_xprt.xpt_flags)) |
1149 | set_bit(RQ_LOCAL, &rqstp->rq_flags); | ||
1150 | else | ||
1151 | clear_bit(RQ_LOCAL, &rqstp->rq_flags); | ||
1149 | 1152 | ||
1150 | p = (__be32 *)rqstp->rq_arg.head[0].iov_base; | 1153 | p = (__be32 *)rqstp->rq_arg.head[0].iov_base; |
1151 | calldir = p[1]; | 1154 | calldir = p[1]; |