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:
0104729
)
SUNRPC: remove BUG_ON in rpc_release_task
author
Weston Andros Adamson
<dros@netapp.com>
Tue, 23 Oct 2012 14:43:49 +0000
(10:43 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Sun, 4 Nov 2012 19:43:43 +0000
(14:43 -0500)
Replace BUG_ON() with WARN_ON_ONCE().
Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/sched.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sunrpc/sched.c
b/net/sunrpc/sched.c
index 69049179c280c059a4c8da1acf7203241a92d7aa..85290266bea0ddc71317f9bcc9b65494eb26a1af 100644
(file)
--- a/
net/sunrpc/sched.c
+++ b/
net/sunrpc/sched.c
@@
-995,7
+995,7
@@
static void rpc_release_task(struct rpc_task *task)
{
dprintk("RPC: %5u release task\n", task->tk_pid);
-
BUG_ON
(RPC_IS_QUEUED(task));
+
WARN_ON_ONCE
(RPC_IS_QUEUED(task));
rpc_release_resources_task(task);