]> Pileus Git - ~andy/linux/blobdiff - kernel/workqueue.c
workqueue: fix comment typo for __queue_work()
[~andy/linux] / kernel / workqueue.c
index bbb5e9832d85477e4189941226e2ea900958dd50..73bdf3c1f9b72eca5932c42a24a25ffe44c6b649 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;