From: zhaoxiaoqiang11 Date: Fri, 16 Jul 2021 09:18:53 +0000 (+0800) Subject: cgroup: remove cgroup_mount from comments X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1f8c543f142942a2325e729fc4c64b6898749c3a;p=linux.git cgroup: remove cgroup_mount from comments 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 Signed-off-by: Tejun Heo --- diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c index 3a0161c21b6ba..d0725c1a8db5e 100644 --- a/kernel/cgroup/cgroup.c +++ b/kernel/cgroup/cgroup.c @@ -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. */