diff options
Diffstat (limited to 'net/sunrpc/svc_xprt.c')
-rw-r--r-- | net/sunrpc/svc_xprt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/svc_xprt.c b/net/sunrpc/svc_xprt.c index eaa9263c2d28..a40f3755a33d 100644 --- a/net/sunrpc/svc_xprt.c +++ b/net/sunrpc/svc_xprt.c | |||
@@ -1081,7 +1081,7 @@ static struct cache_deferred_req *svc_defer(struct cache_req *req) | |||
1081 | struct svc_rqst *rqstp = container_of(req, struct svc_rqst, rq_chandle); | 1081 | struct svc_rqst *rqstp = container_of(req, struct svc_rqst, rq_chandle); |
1082 | struct svc_deferred_req *dr; | 1082 | struct svc_deferred_req *dr; |
1083 | 1083 | ||
1084 | if (rqstp->rq_arg.page_len || !rqstp->rq_usedeferral) | 1084 | if (rqstp->rq_arg.page_len || !test_bit(RQ_USEDEFERRAL, &rqstp->rq_flags)) |
1085 | return NULL; /* if more than a page, give up FIXME */ | 1085 | return NULL; /* if more than a page, give up FIXME */ |
1086 | if (rqstp->rq_deferred) { | 1086 | if (rqstp->rq_deferred) { |
1087 | dr = rqstp->rq_deferred; | 1087 | dr = rqstp->rq_deferred; |