summaryrefslogtreecommitdiff
path: root/kernel/cgroup
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2023-06-27 14:40:59 +0300
committerTejun Heo <tj@kernel.org>2023-07-10 23:47:25 +0300
commit868f87b3759bb7bedb081fdd40ef8d143c003fa6 (patch)
tree499b52ebbf035238e0db08b6ea2f8062acd8e2d1 /kernel/cgroup
parentcd3c6f682df4df7de74a364c34b3b10f84db271b (diff)
downloadlinux-868f87b3759bb7bedb081fdd40ef8d143c003fa6.tar.xz
cgroup: fix obsolete comment above for_each_css()
cgroup_tree_mutex is removed since commit 8353da1f91f1 ("cgroup: remove cgroup_tree_mutex"), update corresponding comment. Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/cgroup')
-rw-r--r--kernel/cgroup/cgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c
index 4137eb4a3000..13d9ea33eb6d 100644
--- a/kernel/cgroup/cgroup.c
+++ b/kernel/cgroup/cgroup.c
@@ -679,7 +679,7 @@ EXPORT_SYMBOL_GPL(of_css);
* @ssid: the index of the subsystem, CGROUP_SUBSYS_COUNT after reaching the end
* @cgrp: the target cgroup to iterate css's of
*
- * Should be called under cgroup_[tree_]mutex.
+ * Should be called under cgroup_mutex.
*/
#define for_each_css(css, ssid, cgrp) \
for ((ssid) = 0; (ssid) < CGROUP_SUBSYS_COUNT; (ssid)++) \