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
32843284 }
32853285 }
32863286
3287+ dev_set_uevent_suppress(&wq_dev->dev, false);
32873288 kobject_uevent(&wq_dev->dev.kobj, KOBJ_ADD);
32883289 return 0;
32893290 }

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