summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorLi Bin <huawei.libin@huawei.com>2013-09-09 13:13:58 +0800
committerTejun Heo <tj@kernel.org>2013-11-22 18:14:27 -0500
commit9ef28a73ff6a1598d6f915973c282fe28291f800 (patch)
tree3097521b9660dcd2f4e76aa8182540b985d1dc1e /kernel
parent8a2b75384444488fc4f2cbb9f0921b6a0794838f (diff)
downloadop-kernel-dev-9ef28a73ff6a1598d6f915973c282fe28291f800.zip
op-kernel-dev-9ef28a73ff6a1598d6f915973c282fe28291f800.tar.gz
workqueue: fix comment typo for __queue_work()
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>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/workqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index bbb5e98..73bdf3c 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;
OpenPOWER on IntegriCloud