cgroup: fix obsolete comment above for_each_css()
authorMiaohe Lin <linmiaohe@huawei.com>
Tue, 27 Jun 2023 11:40:59 +0000 (19:40 +0800)
committerTejun Heo <tj@kernel.org>
Mon, 10 Jul 2023 20:47:25 +0000 (10:47 -1000)
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>
kernel/cgroup/cgroup.c

index 4137eb4..13d9ea3 100644 (file)
@@ -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)++)        \