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

Luis Henriques luis.henriques at canonical.com
Mon Jul 21 13:59:57 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.11.y-queue branch of the 3.11.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.11.y-queue

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.11.y.z tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable

Thanks.
-Luis

------

>From e17d27ef7995ea7239e997bab0ff3b89f2044971 Mon Sep 17 00:00:00 2001
From: Maxime Bizon <mbizon at freebox.fr>
Date: Mon, 23 Jun 2014 16:35:35 +0200
Subject: [PATCH 05/41] 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: Luis Henriques <luis.henriques at canonical.com>
---
 kernel/workqueue.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 23071c9acdc1..ac1336d91ba1 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -3391,6 +3391,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