cgroup: remove cgroup_mount from comments
authorzhaoxiaoqiang11 <zhaoxiaoqiang11@jd.com>
Fri, 16 Jul 2021 09:18:53 +0000 (17:18 +0800)
committerTejun Heo <tj@kernel.org>
Fri, 16 Jul 2021 16:16:12 +0000 (06:16 -1000)
Git rid of an outdated comment.

Since cgroup was fully switched to fs_context, cgroup_mount() is gone and
it's confusing to mention in comments of cgroup_kill_sb(). Delete it.

Signed-off-by: zhaoxiaoqiang11 <zhaoxiaoqiang11@jd.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup/cgroup.c

index 3a0161c..d0725c1 100644 (file)
@@ -2169,7 +2169,6 @@ static void cgroup_kill_sb(struct super_block *sb)
        /*
         * If @root doesn't have any children, start killing it.
         * This prevents new mounts by disabling percpu_ref_tryget_live().
-        * cgroup_mount() may wait for @root's release.
         *
         * And don't kill the default root.
         */