Skip to content

Commit

Permalink
workqueue: fix comment typo for __queue_work()
Browse files Browse the repository at this point in the history
It seems the "dying" should be "draining" here.

Signed-off-by: Li Bin <huawei.libin@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
  • Loading branch information
Li Bin authored and Tejun Heo committed Nov 22, 2013
1 parent 8a2b753 commit 9ef28a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/workqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9ef28a7

Please sign in to comment.