diff options
author | Li Bin <huawei.libin@huawei.com> | 2013-09-09 13:13:58 +0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-09-09 10:17:10 -0400 |
commit | 928f873c81e7d68a96c26ec4842a1b8d421baf31 (patch) | |
tree | 33cea07167f9cd5cb4963eee19d0b887de20c16e /kernel/workqueue.c | |
parent | 1fb9107081438957bf699f1c4c6c6e7a72660e79 (diff) |
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/workqueue.c')
-rw-r--r-- | kernel/workqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 9c91b1db5ac7..6f484e6c6c1e 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -1319,7 +1319,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; |