Skip to content

Commit 7f828ea

Browse files
MiaoheLinhtejun
authored andcommitted
cgroup: fix obsolete function name in cgroup_destroy_locked()
Since commit e76ecae ("cgroup: use cgroup_kn_lock_live() in other cgroup kernfs methods"), cgroup_kn_lock_live() is used in cgroup kernfs methods. Update corresponding comment. Signed-off-by: Miaohe Lin <[email protected]> Acked-by: Johannes Weiner <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
1 parent 95f5c19 commit 7f828ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/cgroup/cgroup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5871,7 +5871,7 @@ static int cgroup_destroy_locked(struct cgroup *cgrp)
58715871
/*
58725872
* Mark @cgrp and the associated csets dead. The former prevents
58735873
* further task migration and child creation by disabling
5874-
* cgroup_lock_live_group(). The latter makes the csets ignored by
5874+
* cgroup_kn_lock_live(). The latter makes the csets ignored by
58755875
* the migration path.
58765876
*/
58775877
cgrp->self.flags &= ~CSS_ONLINE;

0 commit comments

Comments
 (0)