public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -mm] remove node_ prefix_from ns subsystem
@ 2008-05-21 15:47 Cedric Le Goater
  2008-05-21 20:03 ` Serge E. Hallyn
  2008-05-22  5:06 ` Andrew Morton
  0 siblings, 2 replies; 10+ messages in thread
From: Cedric Le Goater @ 2008-05-21 15:47 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Serge E. Hallyn, Paul Menage, Linux Kernel Mailing List,
	Linux Containers

From: Cedric Le Goater <clg@fr.ibm.com>

This is a slight change in the namespace cgroup subsystem api.

Signed-off-by: Cedric Le Goater <clg@fr.ibm.com>
---
 kernel/cgroup.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: 2.6.26-rc2-mm1/kernel/cgroup.c
===================================================================
--- 2.6.26-rc2-mm1.orig/kernel/cgroup.c
+++ 2.6.26-rc2-mm1/kernel/cgroup.c
@@ -2903,7 +2903,7 @@ int cgroup_clone(struct task_struct *tsk
 	cg = tsk->cgroups;
 	parent = task_cgroup(tsk, subsys->subsys_id);
 
-	snprintf(nodename, MAX_CGROUP_TYPE_NAMELEN, "node_%d", tsk->pid);
+	snprintf(nodename, MAX_CGROUP_TYPE_NAMELEN, "%d", tsk->pid);
 
 	/* Pin the hierarchy */
 	atomic_inc(&parent->root->sb->s_active);

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-05-22  9:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-21 15:47 [PATCH -mm] remove node_ prefix_from ns subsystem Cedric Le Goater
2008-05-21 20:03 ` Serge E. Hallyn
2008-05-22  5:06 ` Andrew Morton
2008-05-22  7:11   ` Paul Menage
2008-05-22  7:32     ` Andrew Morton
2008-05-22  7:36       ` Cedric Le Goater
2008-05-22  8:10         ` Andrew Morton
2008-05-22  8:23           ` Paul Menage
2008-05-22  8:36             ` Andrew Morton
2008-05-22  9:21               ` Cedric Le Goater

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox