From: Miaohe Lin Date: Wed, 19 Jul 2023 09:06:40 +0000 (+0800) Subject: cgroup: fix obsolete comment above cgroup_create() X-Git-Tag: v6.6.7~2010^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a3fdeeb3f1c1fad3b7b07aa96a7e422fde3c2c15;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Tejun Heo --- diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c index 3c1bb9e..c7aafb5 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)