summaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorWeston Andros Adamson <dros@netapp.com>2012-10-23 16:43:49 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-11-04 20:43:43 +0100
commit0a0c2a57bc9a47ae876077fdc4678eca33c26ae4 (patch)
tree88841a823d1582a879ca89194fd7c68069190022 /net/sunrpc
parentSUNRPC: remove BUG_ON in svc_delete_xprt (diff)
downloadlinux-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.c2
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);