mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] workqueue: fix comment typo for __queue_work()
@ 2013-09-09  5:13 Libin
  2013-09-09 14:17 ` Tejun Heo
  0 siblings, 1 reply; 2+ messages in thread
From: Libin @ 2013-09-09  5:13 UTC (permalink / raw)
  To: tj; +Cc: linux-kernel, wangyijing, guohanjun, huawei.libin

From: Li Bin <huawei.libin@huawei.com>

It seems the "dying" should be "draining" here.

Signed-off-by: Li Bin <huawei.libin@huawei.com>
---
 kernel/workqueue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 987293d..e390f3a 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -1320,7 +1320,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;
-- 
1.8.2.1



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] workqueue: fix comment typo for __queue_work()
  2013-09-09  5:13 [PATCH] workqueue: fix comment typo for __queue_work() Libin
@ 2013-09-09 14:17 ` Tejun Heo
  0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2013-09-09 14:17 UTC (permalink / raw)
  To: Libin; +Cc: linux-kernel, wangyijing, guohanjun

On Mon, Sep 09, 2013 at 01:13:58PM +0800, Libin wrote:
> From: Li Bin <huawei.libin@huawei.com>
> 
> It seems the "dying" should be "draining" here.
> 
> Signed-off-by: Li Bin <huawei.libin@huawei.com>

Applied to wq/for-3.12-fixes.

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-09-09 14:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-09  5:13 [PATCH] workqueue: fix comment typo for __queue_work() Libin
2013-09-09 14:17 ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®