summaryrefslogtreecommitdiff
path: root/Documentation/admin-guide/cgroup-v1/cgroups.rst
diff options
context:
space:
mode:
authorI Hsin Cheng <richard120310@gmail.com>2024-04-08 06:53:29 +0300
committerTejun Heo <tj@kernel.org>2024-04-08 21:01:36 +0300
commita24e3b7d27c63036dac32d20d18eeeceb54ca207 (patch)
tree0af294b58525e0d685ddd8e29e7d59557f9d8bf8 /Documentation/admin-guide/cgroup-v1/cgroups.rst
parent812c5945bdb8fbdc7420e3467d005bac04e6fcf6 (diff)
downloadlinux-a24e3b7d27c63036dac32d20d18eeeceb54ca207.tar.xz
docs: cgroup-v1: Fix description for css_online
The original description refers to the comment on cgroup_for_each_descendant_pre() for more details. However, the macro cgroup_for_each_descendant_pre() no longer exist, we replace it with the corresponding macro cgroup_for_each_live_descendant_pre(). Signed-off-by: I Hsin Cheng <richard120310@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'Documentation/admin-guide/cgroup-v1/cgroups.rst')
-rw-r--r--Documentation/admin-guide/cgroup-v1/cgroups.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/admin-guide/cgroup-v1/cgroups.rst b/Documentation/admin-guide/cgroup-v1/cgroups.rst
index 9343148ee993..a3e2edb3d274 100644
--- a/Documentation/admin-guide/cgroup-v1/cgroups.rst
+++ b/Documentation/admin-guide/cgroup-v1/cgroups.rst
@@ -570,7 +570,7 @@ visible to cgroup_for_each_child/descendant_*() iterators. The
subsystem may choose to fail creation by returning -errno. This
callback can be used to implement reliable state sharing and
propagation along the hierarchy. See the comment on
-cgroup_for_each_descendant_pre() for details.
+cgroup_for_each_live_descendant_pre() for details.
``void css_offline(struct cgroup *cgrp);``
(cgroup_mutex held by caller)