]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cgroup: update comment about dropping cgroup kn refs
authorHaorui He <mail@hehaorui.com>
Sun, 12 Jan 2025 14:49:20 +0000 (22:49 +0800)
committerTejun Heo <tj@kernel.org>
Tue, 21 Jan 2025 19:24:47 +0000 (09:24 -1000)
commit4a6780a30e86cde7756954981db9e6aec285793d
tree27918347454f3d30545721089008f6d10148aac3
parentb9d8a295ed6bc3cee846f8e3f27c9c6e9ebe43f2
cgroup: update comment about dropping cgroup kn refs

the cgroup is actually freed in css_free_rwork_fn() now
the ref count of the cgroup's kernfs_node is also dropped there
so we need to update the corresponding comment in cgroup_mkdir()

Signed-off-by: Haorui He <mail@hehaorui.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup/cgroup.c