diff options
author | Weston Andros Adamson <dros@netapp.com> | 2012-10-23 10:43:49 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-11-04 14:43:43 -0500 |
commit | 0a0c2a57bc9a47ae876077fdc4678eca33c26ae4 (patch) | |
tree | 88841a823d1582a879ca89194fd7c68069190022 /net/sunrpc/sched.c | |
parent | 010472980724ed7bbabf818b4232bf3b182b94c5 (diff) |
SUNRPC: remove BUG_ON in rpc_release_task
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>
Diffstat (limited to 'net/sunrpc/sched.c')
-rw-r--r-- | net/sunrpc/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c index 69049179c280..85290266bea0 100644 --- a/net/sunrpc/sched.c +++ b/net/sunrpc/sched.c | |||
@@ -995,7 +995,7 @@ static void rpc_release_task(struct rpc_task *task) | |||
995 | { | 995 | { |
996 | dprintk("RPC: %5u release task\n", task->tk_pid); | 996 | dprintk("RPC: %5u release task\n", task->tk_pid); |
997 | 997 | ||
998 | BUG_ON (RPC_IS_QUEUED(task)); | 998 | WARN_ON_ONCE(RPC_IS_QUEUED(task)); |
999 | 999 | ||
1000 | rpc_release_resources_task(task); | 1000 | rpc_release_resources_task(task); |
1001 | 1001 | ||