cgroup: fix obsolete comment above cgroup_create()
authorMiaohe Lin <linmiaohe@huawei.com>
Wed, 19 Jul 2023 09:06:40 +0000 (17:06 +0800)
committerTejun Heo <tj@kernel.org>
Fri, 21 Jul 2023 19:54:48 +0000 (09:54 -1000)
Since commit 743210386c03 ("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>
kernel/cgroup/cgroup.c

index 3c1bb9e..c7aafb5 100644 (file)
@@ -5545,8 +5545,7 @@ err_free_css:
 
 /*
  * 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)