From: Li Bin Date: Mon, 9 Sep 2013 05:13:58 +0000 (+0800) Subject: workqueue: fix comment typo for __queue_work() X-Git-Tag: v3.13-rc2~4^2~1 X-Git-Url: http://git.cascardo.eti.br/?a=commitdiff_plain;h=9ef28a73ff6a1598d6f915973c282fe28291f800;p=cascardo%2Flinux.git workqueue: fix comment typo for __queue_work() It seems the "dying" should be "draining" here. Signed-off-by: Li Bin Signed-off-by: Tejun Heo --- 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, 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;