workqueue: fix comment typo for __queue_work()
authorLi Bin <huawei.libin@huawei.com>
Mon, 9 Sep 2013 05:13:58 +0000 (13:13 +0800)
committerTejun Heo <tj@kernel.org>
Fri, 22 Nov 2013 23:14:27 +0000 (18:14 -0500)
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>
kernel/workqueue.c

index bbb5e98..73bdf3c 100644 (file)
@@ -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;