Skip to content

Commit a24e3b7

Browse files
vax-rhtejun
authored andcommitted
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 <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
1 parent 812c594 commit a24e3b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/admin-guide/cgroup-v1/cgroups.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ visible to cgroup_for_each_child/descendant_*() iterators. The
570570
subsystem may choose to fail creation by returning -errno. This
571571
callback can be used to implement reliable state sharing and
572572
propagation along the hierarchy. See the comment on
573-
cgroup_for_each_descendant_pre() for details.
573+
cgroup_for_each_live_descendant_pre() for details.
574574

575575
``void css_offline(struct cgroup *cgrp);``
576576
(cgroup_mutex held by caller)

0 commit comments

Comments
 (0)