docs: cgroup-v1: Fix description for css_online
authorI Hsin Cheng <richard120310@gmail.com>
Mon, 8 Apr 2024 03:53:29 +0000 (11:53 +0800)
committerTejun Heo <tj@kernel.org>
Mon, 8 Apr 2024 18:01:36 +0000 (08:01 -1000)
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>
Documentation/admin-guide/cgroup-v1/cgroups.rst

index 9343148ee99366ff499f069ebcd94eeedf44b2ec..a3e2edb3d2745a4dfc88cb5c18fc2cb425d8da9d 100644 (file)
@@ -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)