diff options
author | Maxime Bizon <mbizon@freebox.fr> | 2014-06-23 16:35:35 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-06-23 14:40:49 -0400 |
commit | bddbceb688c6d0decaabc7884fede319d02f96c8 (patch) | |
tree | 1b1a4023565b22b537562137d044851edf1d4d66 /kernel/workqueue.c | |
parent | ebe06187bf2aec10d537ce4595e416035367d703 (diff) | |
download | op-kernel-dev-bddbceb688c6d0decaabc7884fede319d02f96c8.zip op-kernel-dev-bddbceb688c6d0decaabc7884fede319d02f96c8.tar.gz |
workqueue: fix dev_set_uevent_suppress() imbalance
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>
Cc: stable@vger.kernel.org
Fixes: 226223ab3c4118ddd10688cc2c131135848371ab
Diffstat (limited to 'kernel/workqueue.c')
-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 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; } |