diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2023-07-19 12:06:40 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2023-07-21 22:54:48 +0300 |
commit | a3fdeeb3f1c1fad3b7b07aa96a7e422fde3c2c15 (patch) | |
tree | 1f9011fa40f38797b5e6a26948ce375d962e12f4 /kernel/cgroup/cgroup.c | |
parent | ab8aebdc9f7b9e2768c8a5776d028f4a10d05c4b (diff) | |
download | linux-a3fdeeb3f1c1fad3b7b07aa96a7e422fde3c2c15.tar.xz |
cgroup: fix obsolete comment above cgroup_create()
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>
Diffstat (limited to 'kernel/cgroup/cgroup.c')
-rw-r--r-- | kernel/cgroup/cgroup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c index 3c1bb9ecea10..c7aafb59ecf2 100644 --- a/kernel/cgroup/cgroup.c +++ b/kernel/cgroup/cgroup.c @@ -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) |