diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c index f494b356e87678ee8ea745a60c4a0eefabd12bf2..e6db49699bce8e94cefd28a401a3ad17ed6e5146 100644 --- a/net/sunrpc/sched.c +++ b/net/sunrpc/sched.c @@ -334,7 +334,7 @@ static void __rpc_sleep_on_priority(struct rpc_wait_queue *q, __rpc_add_wait_queue(q, task, queue_priority); - BUG_ON(task->tk_callback != NULL); + WARN_ON_ONCE(task->tk_callback != NULL); task->tk_callback = action; __rpc_add_timer(q, task); }