[PATCH] docs: cgroup-v1: Fix description for css_online

I Hsin Cheng posted 1 patch 1 year, 10 months ago
Documentation/admin-guide/cgroup-v1/cgroups.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] docs: cgroup-v1: Fix description for css_online
Posted by I Hsin Cheng 1 year, 10 months ago
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>
---
 Documentation/admin-guide/cgroup-v1/cgroups.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/admin-guide/cgroup-v1/cgroups.rst b/Documentation/admin-guide/cgroup-v1/cgroups.rst
index 9343148ee..a3e2edb3d 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)
-- 
2.34.1
Re: [PATCH] docs: cgroup-v1: Fix description for css_online
Posted by Tejun Heo 1 year, 10 months ago
On Mon, Apr 08, 2024 at 11:53:29AM +0800, I Hsin Cheng wrote:
> 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>

Applied to cgroup/for-6.10.

Thanks.

-- 
tejun