Re: [PATCH -mm] remove node_ prefix_from ns subsystem

From: Serge E. Hallyn
Date: Wed May 21 2008 - 16:04:29 EST


Quoting Cedric Le Goater (clg@xxxxxxxxxx):
> From: Cedric Le Goater <clg@xxxxxxxxxx>
>
> This is a slight change in the namespace cgroup subsystem api.
>
> Signed-off-by: Cedric Le Goater <clg@xxxxxxxxxx>

I agree that is preferable.

Acked-by: Serge Hallyn <serue@xxxxxxxxxx>

> ---
> 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);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/