Re: Error with cgroups: "unused subsystem ns"

From: Sharyathi Nagesh
Date: Fri Dec 19 2008 - 12:24:21 EST


Andrew Morton wrote:

I'm unsure waht to make of this. It has no changelog. It appears to have
been authored by yourself, although it's unclear why it has Alexey's
signoff as well.

This patch is originally from Alexy I have just ported it into latest kernel mainline
Thanks
Yeehaw


This patch removes spurious warning messages that are thrown into
the console during cgroup operations.

-----------------
Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
Signed-off-by: Sharyathi Nagesh <sharyathi@xxxxxxxxxx>
Acked-by: Serge E. Hallyn <serge@xxxxxxxxxx>
-----------------


Index: linux-2.6.28-rc8/kernel/cgroup.c
===================================================================
--- linux-2.6.28-rc8.orig/kernel/cgroup.c 2008-12-11 04:41:51.000000000 +0530
+++ linux-2.6.28-rc8/kernel/cgroup.c 2008-12-18 21:55:58.000000000 +0530
@@ -2934,9 +2934,6 @@
again:
root = subsys->root;
if (root == &rootnode) {
- printk(KERN_INFO
- "Not cloning cgroup for unused subsystem %s\n",
- subsys->name);
mutex_unlock(&cgroup_mutex);
return 0;
}