Skip to contentSkip to conversation

workqueue: fix comment typo for __queue_work()

PATCH Applied Libin 2 participants 2 messages Sep 9, 2013 Workqueue

lore
Share & tools
lore

Libin

author
#0 lore raw

PATCH 1/1 workqueue: fix comment typo for __queue_work()

From: Li Bin <[email protected]>

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

---
 kernel/workqueue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/workqueue.c +1 -1
index 987293d..e390f3a 100644
@@ -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;
Signature · 1 line
1.8.2.1