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 22:57:59 +0000 (15:57 -0700)
commit7c36f88c2fb11cae6e42edeb96428b421e43ad4f
tree35aa23e3d5de16ac55761ee7c1eeb8b7ab382926
parent977efe49438cdd925c52c0bc57dbe8f718596a21
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