diff options
Diffstat (limited to 'net/sunrpc')
-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 f494b356e876..e6db49699bce 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, | |||
334 | 334 | ||
335 | __rpc_add_wait_queue(q, task, queue_priority); | 335 | __rpc_add_wait_queue(q, task, queue_priority); |
336 | 336 | ||
337 | BUG_ON(task->tk_callback != NULL); | 337 | WARN_ON_ONCE(task->tk_callback != NULL); |
338 | task->tk_callback = action; | 338 | task->tk_callback = action; |
339 | __rpc_add_timer(q, task); | 339 | __rpc_add_timer(q, task); |
340 | } | 340 | } |