Skip to content

Commit

Permalink
SUNRPC: remove BUG_ON in rpc_release_task
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Weston Andros Adamson authored and Trond Myklebust committed Nov 4, 2012
1 parent 0104729 commit 0a0c2a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/sunrpc/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 0a0c2a5

Please sign in to comment.