diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-08-03 19:03:06 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-08-17 18:00:10 +0200 |
commit | 9e5b208dc9b2460f83f218ef6a6a1b1309fcd6b0 (patch) | |
tree | fc115fa60d900a00c1d6e703da38fb3ad061c030 /net/sunrpc/svc_xprt.c | |
parent | Linux 3.17-rc1 (diff) | |
download | linux-9e5b208dc9b2460f83f218ef6a6a1b1309fcd6b0.tar.xz linux-9e5b208dc9b2460f83f218ef6a6a1b1309fcd6b0.zip |
SUNRPC: Do not override wspace tests in svc_handle_xprt
We already determined that there was enough wspace when we
called svc_xprt_enqueue.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
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 6666c6745858..08e48cecfdcc 100644 --- a/net/sunrpc/svc_xprt.c +++ b/net/sunrpc/svc_xprt.c @@ -744,7 +744,7 @@ static int svc_handle_xprt(struct svc_rqst *rqstp, struct svc_xprt *xprt) svc_add_new_temp_xprt(serv, newxpt); else module_put(xprt->xpt_class->xcl_owner); - } else if (xprt->xpt_ops->xpo_has_wspace(xprt)) { + } else { /* XPT_DATA|XPT_DEFERRED case: */ dprintk("svc: server %p, pool %u, transport %p, inuse=%d\n", rqstp, rqstp->rq_pool->sp_id, xprt, |