summaryrefslogtreecommitdiff
path: root/kernel/cgroup
diff options
context:
space:
mode:
authorzhaoxiaoqiang11 <zhaoxiaoqiang11@jd.com>2021-07-16 12:18:53 +0300
committerTejun Heo <tj@kernel.org>2021-07-16 19:16:12 +0300
commit1f8c543f142942a2325e729fc4c64b6898749c3a (patch)
tree5639602358c1c2933eb70b97f7e497382759b8fc /kernel/cgroup
parentd936eb23874433caa3e3d841cfa16f5434b85dcf (diff)
downloadlinux-1f8c543f142942a2325e729fc4c64b6898749c3a.tar.xz
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 <zhaoxiaoqiang11@jd.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/cgroup')
-rw-r--r--kernel/cgroup/cgroup.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c
index 3a0161c21b6b..d0725c1a8db5 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.
*/