Skip to contentSkip to conversation

cgroup: remove cgroup_mount from comments

PATCH New 赵小强 1 participant 1 message Jul 16, 2021 cgroup

lore
Share & tools
lore

赵小强

author
#0 lore raw

PATCH 1/1 cgroup: remove cgroup_mount from comments

Git rid of the inappropriate comment

Since cgroup is fully switched to fs_context, function cgroup_mount is removed and it's confused to mention in comments of cgroup_kill_sb. Just wipe it out.

---
 kernel/cgroup/cgroup.c | 1 -
 1 file changed, 1 deletion(-)
kernel/cgroup/cgroup.c +0 -1
index 3a0161c21b6b..d0725c1a8db5 100644
@@ -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.
         */

--
2.27.0