diff options
author | Weston Andros Adamson | 2012-10-23 10:43:49 -0400 |
---|---|---|
committer | Trond Myklebust | 2012-11-04 14:43:43 -0500 |
commit | 0a0c2a57bc9a47ae876077fdc4678eca33c26ae4 (patch) | |
tree | 88841a823d1582a879ca89194fd7c68069190022 /net | |
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')
-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); |