* [PATCH] cgroup: fix obsolete comment above cgroup_create()
@ 2023-07-19 9:06 Miaohe Lin
2023-07-21 19:55 ` Tejun Heo
0 siblings, 1 reply; 2+ messages in thread
From: Miaohe Lin @ 2023-07-19 9:06 UTC (permalink / raw)
To: tj, hannes, lizefan.x; +Cc: cgroups, linux-kernel, linmiaohe
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>
---
kernel/cgroup/cgroup.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c
index 40ee81f982ff..44bf9e3ffb8a 100644
--- a/kernel/cgroup/cgroup.c
+++ b/kernel/cgroup/cgroup.c
@@ -5544,8 +5544,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)
--
2.33.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] cgroup: fix obsolete comment above cgroup_create()
2023-07-19 9:06 [PATCH] cgroup: fix obsolete comment above cgroup_create() Miaohe Lin
@ 2023-07-21 19:55 ` Tejun Heo
0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2023-07-21 19:55 UTC (permalink / raw)
To: Miaohe Lin; +Cc: hannes, lizefan.x, cgroups, linux-kernel
On Wed, Jul 19, 2023 at 05:06:40PM +0800, Miaohe Lin wrote:
> 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>
Applied to cgroup/for-6.6.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-21 19:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-19 9:06 [PATCH] cgroup: fix obsolete comment above cgroup_create() Miaohe Lin
2023-07-21 19:55 ` Tejun Heo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®