]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
cgroup: fix obsolete function name
authorMiaohe Lin <linmiaohe@huawei.com>
Mon, 17 Jul 2023 11:28:00 +0000 (19:28 +0800)
committerTejun Heo <tj@kernel.org>
Mon, 17 Jul 2023 18:38:58 +0000 (08:38 -1000)
cgroup_taskset_migrate() has been renamed to cgroup_migrate_execute() since
commit e595cd706982 ("cgroup: track migration context in cgroup_mgctx").
Update the corresponding comment.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup/cgroup.c

index e9a62de3faf9b2adf8e1cd961853c9a906da12c7..aa2cc32e60c0a779af1d26111d2f44de094c9ee8 100644 (file)
@@ -2477,7 +2477,7 @@ struct task_struct *cgroup_taskset_next(struct cgroup_taskset *tset,
 
                        /*
                         * This function may be called both before and
-                        * after cgroup_taskset_migrate().  The two cases
+                        * after cgroup_migrate_execute().  The two cases
                         * can be distinguished by looking at whether @cset
                         * has its ->mg_dst_cset set.
                         */