projects
/
GitHub
/
LineageOS
/
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:
b8291ad
)
svc: Remove extra check for XPT_DEAD bit in svc_xprt_enqueue
author
Tom Tucker
<tom@opengridcomputing.com>
Fri, 25 Apr 2008 16:07:10 +0000
(11:07 -0500)
committer
Tom Tucker
<tom@opengridcomputing.com>
Mon, 19 May 2008 12:33:41 +0000
(07:33 -0500)
Remove a redundant check for the XPT_DEAD bit in the svc_xprt_enqueue
function. This same bit is checked below while holding the pool lock
and prints a debug message if found to be dead.
Signed-off-by: Tom Tucker <tom@opengridcomputing.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 d8e8d79a84514aebcd003b65ef2cda5002bc391c..cac3f82fca615fa81c2c4fd4c57eef86f2f12d09 100644
(file)
--- a/
net/sunrpc/svc_xprt.c
+++ b/
net/sunrpc/svc_xprt.c
@@
-296,8
+296,6
@@
void svc_xprt_enqueue(struct svc_xprt *xprt)
if (!(xprt->xpt_flags &
((1<<XPT_CONN)|(1<<XPT_DATA)|(1<<XPT_CLOSE)|(1<<XPT_DEFERRED))))
return;
- if (test_bit(XPT_DEAD, &xprt->xpt_flags))
- return;
cpu = get_cpu();
pool = svc_pool_for_cpu(xprt->xpt_server, cpu);