diff options
author | Weston Andros Adamson <dros@netapp.com> | 2012-10-23 16:43:49 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-11-04 20:43:43 +0100 |
commit | 0a0c2a57bc9a47ae876077fdc4678eca33c26ae4 (patch) | |
tree | 88841a823d1582a879ca89194fd7c68069190022 /net/sunrpc | |
parent | SUNRPC: remove BUG_ON in svc_delete_xprt (diff) | |
download | linux-0a0c2a57bc9a47ae876077fdc4678eca33c26ae4.tar.xz linux-0a0c2a57bc9a47ae876077fdc4678eca33c26ae4.zip |
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')
-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) { 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); |