projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d1311b
)
SUNRPC: Do not override wspace tests in svc_handle_xprt
author
Trond Myklebust
<trond.myklebust@primarydata.com>
Sun, 3 Aug 2014 17:03:06 +0000
(13:03 -0400)
committer
J. Bruce Fields
<bfields@redhat.com>
Sun, 17 Aug 2014 16:00:10 +0000
(12:00 -0400)
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>
net/sunrpc/svc_xprt.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sunrpc/svc_xprt.c
b/net/sunrpc/svc_xprt.c
index 6666c67458581dd03a03dff1557fcba4a6c5e098..08e48cecfdcc7cfb7a8d119289418dc6e1616ea9 100644
(file)
--- 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,