|
@@ -1323,7 +1323,7 @@ static void __queue_work(int cpu, struct workqueue_struct *wq,
|
|
|
|
|
|
debug_work_activate(work);
|
|
|
|
|
|
- /* if dying, only works from the same workqueue are allowed */
|
|
|
+ /* if draining, only works from the same workqueue are allowed */
|
|
|
if (unlikely(wq->flags & __WQ_DRAINING) &&
|
|
|
WARN_ON_ONCE(!is_chained_work(wq)))
|
|
|
return;
|