projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebe0618
)
workqueue: fix dev_set_uevent_suppress() imbalance
author
Maxime Bizon
<mbizon@freebox.fr>
Mon, 23 Jun 2014 14:35:35 +0000
(16:35 +0200)
committer
Tejun Heo
<tj@kernel.org>
Mon, 23 Jun 2014 18:40:49 +0000
(14:40 -0400)
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
kernel/workqueue.c
patch
|
blob
|
history
diff --git
a/kernel/workqueue.c
b/kernel/workqueue.c
index 6203d29008772e9ee647eae939e9b4d070a841e6..6f5f9c7323f4500c6db325b07f0bda1b08d4d66d 100644
(file)
--- 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;
}