Commit a3fdeeb3 authored by Miaohe Lin's avatar Miaohe Lin Committed by Tejun Heo
Browse files

cgroup: fix obsolete comment above cgroup_create()



Since commit 74321038 ("cgroup: use cgrp->kn->id as the cgroup ID"),
cgrp is associated with its kernfs_node. Update corresponding comment.

Signed-off-by: default avatarMiaohe Lin <linmiaohe@huawei.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent ab8aebdc
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -5545,8 +5545,7 @@ static struct cgroup_subsys_state *css_create(struct cgroup *cgrp,

/*
 * The returned cgroup is fully initialized including its control mask, but
 * it isn't associated with its kernfs_node and doesn't have the control
 * mask applied.
 * it doesn't have the control mask applied.
 */
static struct cgroup *cgroup_create(struct cgroup *parent, const char *name,
				    umode_t mode)