* [PATCH] workqueue: fix dev_set_uevent_suppress imbalance.
@ 2014-06-23 14:35 Maxime Bizon
2014-06-23 18:42 ` Tejun Heo
0 siblings, 1 reply; 2+ messages in thread
From: Maxime Bizon @ 2014-06-23 14:35 UTC (permalink / raw)
To: Tejun Heo; +Cc: linux-kernel, Maxime Bizon
Uevents are suppressed during attributes registration, but never
restored, so kobject_uevent() does nothing.
Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
---
kernel/workqueue.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 6203d29..6f5f9c7 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -3284,6 +3284,7 @@ int workqueue_sysfs_register(struct workqueue_struct *wq)
}
}
+ dev_set_uevent_suppress(&wq_dev->dev, false);
kobject_uevent(&wq_dev->dev.kobj, KOBJ_ADD);
return 0;
}
--
1.7.9.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] workqueue: fix dev_set_uevent_suppress imbalance.
2014-06-23 14:35 [PATCH] workqueue: fix dev_set_uevent_suppress imbalance Maxime Bizon
@ 2014-06-23 18:42 ` Tejun Heo
0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2014-06-23 18:42 UTC (permalink / raw)
To: Maxime Bizon; +Cc: linux-kernel
On Mon, Jun 23, 2014 at 04:35:35PM +0200, Maxime Bizon wrote:
> Uevents are suppressed during attributes registration, but never
> restored, so kobject_uevent() does nothing.
>
> Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
Applied to wq/for-3.16-fixes.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-23 18:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-23 14:35 [PATCH] workqueue: fix dev_set_uevent_suppress imbalance Maxime Bizon
2014-06-23 18:42 ` 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®