From: Miaohe Lin Date: Tue, 27 Jun 2023 11:40:59 +0000 (+0800) Subject: cgroup: fix obsolete comment above for_each_css() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=868f87b3759bb7bedb081fdd40ef8d143c003fa6;p=linux.git 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 Signed-off-by: Tejun Heo --- diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c index 4137eb4a30009..13d9ea33eb6d5 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)++) \