diff options
author | Maxime Bizon <mbizon@freebox.fr> | 2014-06-23 16:35:35 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-17 15:57:59 -0700 |
commit | 7c36f88c2fb11cae6e42edeb96428b421e43ad4f (patch) | |
tree | 35aa23e3d5de16ac55761ee7c1eeb8b7ab382926 | |
parent | 977efe49438cdd925c52c0bc57dbe8f718596a21 (diff) |
workqueue: fix dev_set_uevent_suppress() imbalance
commit bddbceb688c6d0decaabc7884fede319d02f96c8 upstream.
Uevents are suppressed during attributes registration, but never
restored, so kobject_uevent() does nothing.
Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
Signed-off-by: Tejun Heo <tj@kernel.org>
Fixes: 226223ab3c4118ddd10688cc2c131135848371ab
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | kernel/workqueue.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 652f36dd40d..32012f9eec7 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -3373,6 +3373,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; } |