mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 22:02:02 +00:00
cgroup: fix obsolete comment above cgroup_create()
Since commit 743210386c
("cgroup: use cgrp->kn->id as the cgroup ID"),
cgrp is associated with its kernfs_node. Update corresponding comment.
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
ab8aebdc9f
commit
a3fdeeb3f1
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue