[3.13.y.z extended stable] Patch "workqueue: fix dev_set_uevent_suppress() imbalance" has been added to staging queue

Kamal Mostafa kamal at canonical.com
Wed Aug 6 20:54:20 UTC 2014


This is a note to let you know that I have just added a patch titled

    workqueue: fix dev_set_uevent_suppress() imbalance

to the linux-3.13.y-queue branch of the 3.13.y.z extended stable tree 
which can be found at:

 http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-3.13.y-queue

This patch is scheduled to be released in version 3.13.11.6.

If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.13.y.z tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable

Thanks.
-Kamal

------

>From bffe4e0a7520f35f2c5269aac38fae7d2916d7fb Mon Sep 17 00:00:00 2001
From: Maxime Bizon <mbizon at freebox.fr>
Date: Mon, 23 Jun 2014 16:35:35 +0200
Subject: 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 at freebox.fr>
Signed-off-by: Tejun Heo <tj at kernel.org>
Fixes: 226223ab3c4118ddd10688cc2c131135848371ab
Signed-off-by: Kamal Mostafa <kamal at canonical.com>
---
 kernel/workqueue.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 1b23f5b..61212c9 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -3415,6 +3415,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;
 }
--
1.9.1





More information about the kernel-team mailing list