Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9ef28a73 authored by Li Bin's avatar Li Bin Committed by Tejun Heo
Browse files

workqueue: fix comment typo for __queue_work()



It seems the "dying" should be "draining" here.

Signed-off-by: default avatarLi Bin <huawei.libin@huawei.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 8a2b7538
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;