Updates cgroup_clone() to use lookup_one_len() rather than cgroup_get_dentry(). Originally part of task-cgroupsv11-basic-task-cgroup-framework-cgroups-fix-refcount-bug but split out by akpm for the -mm tree. Signed-off-by: Paul Menage --- kernel/cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.23-rc4-mm1-new/kernel/cgroup.c =================================================================== --- linux-2.6.23-rc4-mm1-new.orig/kernel/cgroup.c +++ linux-2.6.23-rc4-mm1-new/kernel/cgroup.c @@ -2577,7 +2577,7 @@ int cgroup_clone(struct task_struct *tsk /* Hold the parent directory mutex across this operation to * stop anyone else deleting the new cgroup */ mutex_lock(&inode->i_mutex); - dentry = cgroup_get_dentry(parent->dentry, nodename); + dentry = lookup_one_len(nodename, parent->dentry, strlen(nodename)); if (IS_ERR(dentry)) { printk(KERN_INFO "Couldn't allocate dentry for %s: %ld\n", nodename, -- _______________________________________________ Containers mailing list Containers@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/containers