workqueue: fix dev_set_uevent_suppress() imbalance
authorMaxime Bizon <mbizon@freebox.fr>
Mon, 23 Jun 2014 14:35:35 +0000 (16:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jul 2014 23:21:03 +0000 (16:21 -0700)
commit7a7332c9fc03b810731b13628a7431e7d8c6a36d
treec7f45ea6ff60c712c115c2698aabe9919409e192
parent3ad0b55167a0a2cd4b13b917348aad3c5c8ee7c5
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>
kernel/workqueue.c