diff options
| author | Miaohe Lin <[email protected]> | 2023-08-03 19:57:02 +0800 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2023-08-03 14:13:33 -1000 |
| commit | 7f828eacc4bbfd3ceea8ea17051858262fe04122 (patch) | |
| tree | 3663ef3369a9ddff8209d00e617c4b313b1ad0dd | |
| parent | 95f5c19c8c04a81477b73b478d10d4eda7aa2f69 (diff) | |
cgroup: fix obsolete function name in cgroup_destroy_locked()
Since commit e76ecaeef65c ("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]>
| -rw-r--r-- | kernel/cgroup/cgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c index f9cde56cf947..85e723abd9e2 100644 --- a/kernel/cgroup/cgroup.c +++ b/kernel/cgroup/cgroup.c @@ -5871,7 +5871,7 @@ static int cgroup_destroy_locked(struct cgroup *cgrp) /* * Mark @cgrp and the associated csets dead. The former prevents * further task migration and child creation by disabling - * cgroup_lock_live_group(). The latter makes the csets ignored by + * cgroup_kn_lock_live(). The latter makes the csets ignored by * the migration path. */ cgrp->self.flags &= ~CSS_ONLINE; |