diff options
Diffstat (limited to 'kernel/workqueue.c')
-rw-r--r-- | kernel/workqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index bbb5e9832d85..73bdf3c1f9b7 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c | |||
@@ -1323,7 +1323,7 @@ static void __queue_work(int cpu, struct workqueue_struct *wq, | |||
1323 | 1323 | ||
1324 | debug_work_activate(work); | 1324 | debug_work_activate(work); |
1325 | 1325 | ||
1326 | /* if dying, only works from the same workqueue are allowed */ | 1326 | /* if draining, only works from the same workqueue are allowed */ |
1327 | if (unlikely(wq->flags & __WQ_DRAINING) && | 1327 | if (unlikely(wq->flags & __WQ_DRAINING) && |
1328 | WARN_ON_ONCE(!is_chained_work(wq))) | 1328 | WARN_ON_ONCE(!is_chained_work(wq))) |
1329 | return; | 1329 | return; |