Skip to content

Commit

Permalink
cgroup: fix obsolete comment above for_each_css()
Browse files Browse the repository at this point in the history
cgroup_tree_mutex is removed since commit 8353da1 ("cgroup: remove
cgroup_tree_mutex"), update corresponding comment.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
  • Loading branch information
Miaohe Lin authored and Tejun Heo committed Jul 10, 2023
1 parent cd3c6f6 commit 868f87b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/cgroup/cgroup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)++) \
Expand Down

0 comments on commit 868f87b

Please sign in to comment.