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>
This commit is contained in:
Weston Andros Adamson 2012-10-23 10:43:49 -04:00 committed by Trond Myklebust
parent 0104729807
commit 0a0c2a57bc
1 changed files with 1 additions and 1 deletions

View File

@ -995,7 +995,7 @@ static void rpc_release_task(struct rpc_task *task)
{ {
dprintk("RPC: %5u release task\n", task->tk_pid); 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); rpc_release_resources_task(task);