projects
/
platform
/
kernel
/
linux-stable.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
|
history
diff --git
a/net/sunrpc/sched.c
b/net/sunrpc/sched.c
index
6904917
..
8529026
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);