History

workqueue: fix dev_set_uevent_suppress() imbalance

Uevents are suppressed during attributes registration, but never restored, so kobject_uevent() does nothing.

Maxime Bizon committed 12 years ago

Commit bddbceb1 parent ebe06181 file · +1 −0Browse files

Showing the changes to kernel/workqueue.c (1 of 1 file). Show all

Unified · Split

kernel/workqueue.c+1−0
@@ -3284,6 +3284,7 @@ int workqueue_sysfs_register(struct workqueue_struct *wq) · 3283 unmodified lines
3284 }3284 }
3285 }3285 }
3286 3286
3287 dev_set_uevent_suppress(&wq_dev->dev, false);
3287 kobject_uevent(&wq_dev->dev.kobj, KOBJ_ADD);3288 kobject_uevent(&wq_dev->dev.kobj, KOBJ_ADD);
3288 return 0;3289 return 0;
3289}3290}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t