OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0af3950
)
SUNRPC: remove BUG_ON from __rpc_sleep_on_priority
author
Weston Andros Adamson
<dros@netapp.com>
Tue, 23 Oct 2012 14:43:46 +0000
(10:43 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Sun, 4 Nov 2012 19:43:42 +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
f494b35
..
e6db496
100644
(file)
--- a/
net/sunrpc/sched.c
+++ b/
net/sunrpc/sched.c
@@
-334,7
+334,7
@@
static void __rpc_sleep_on_priority(struct rpc_wait_queue *q,
__rpc_add_wait_queue(q, task, queue_priority);
-
BUG_ON
(task->tk_callback != NULL);
+
WARN_ON_ONCE
(task->tk_callback != NULL);
task->tk_callback = action;
__rpc_add_timer(q, task);
}