forked from Minki/linux
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:
parent
0104729807
commit
0a0c2a57bc
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user