Commit 868f87b3 authored by Miaohe Lin's avatar Miaohe Lin Committed by Tejun Heo

cgroup: fix obsolete comment above for_each_css()

cgroup_tree_mutex is removed since commit 8353da1f ("cgroup: remove
cgroup_tree_mutex"), update corresponding comment.
Signed-off-by: default avatarMiaohe Lin <linmiaohe@huawei.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent cd3c6f68
...@@ -679,7 +679,7 @@ EXPORT_SYMBOL_GPL(of_css); ...@@ -679,7 +679,7 @@ EXPORT_SYMBOL_GPL(of_css);
* @ssid: the index of the subsystem, CGROUP_SUBSYS_COUNT after reaching the end * @ssid: the index of the subsystem, CGROUP_SUBSYS_COUNT after reaching the end
* @cgrp: the target cgroup to iterate css's of * @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) \ #define for_each_css(css, ssid, cgrp) \
for ((ssid) = 0; (ssid) < CGROUP_SUBSYS_COUNT; (ssid)++) \ for ((ssid) = 0; (ssid) < CGROUP_SUBSYS_COUNT; (ssid)++) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment