Skip to content

Commit a3fdeeb

Browse files
MiaoheLinhtejun
authored andcommitted
cgroup: fix obsolete comment above cgroup_create()
Since commit 7432103 ("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>
1 parent ab8aebd commit a3fdeeb

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

kernel/cgroup/cgroup.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5545,8 +5545,7 @@ static struct cgroup_subsys_state *css_create(struct cgroup *cgrp,
55455545

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

0 commit comments

Comments
 (0)