diff options
author | Wei Yang <richard.weiyang@linux.alibaba.com> | 2020-09-25 17:11:10 +0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2020-09-30 12:03:10 -0400 |
commit | 95d325185c06cbef1c5be97825265a7129a03512 (patch) | |
tree | caae9c74ca01f184ea09c4e0711f9470783f33fb /kernel/cgroup | |
parent | 02de58b24d2e1b2cf947d57205bd2221d897193c (diff) | |
download | linux-95d325185c06cbef1c5be97825265a7129a03512.tar.bz2 |
cgroup: remove redundant kernfs_activate in cgroup_setup_root()
This step is already done in rebind_subsystems().
Not necessary to do it again.
Signed-off-by: Wei Yang <richard.weiyang@linux.alibaba.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/cgroup')
-rw-r--r-- | kernel/cgroup/cgroup.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c index dd247747ec14..809b13588124 100644 --- a/kernel/cgroup/cgroup.c +++ b/kernel/cgroup/cgroup.c @@ -2006,7 +2006,6 @@ int cgroup_setup_root(struct cgroup_root *root, u16 ss_mask) BUG_ON(!list_empty(&root_cgrp->self.children)); BUG_ON(atomic_read(&root->nr_cgrps) != 1); - kernfs_activate(root_cgrp->kn); ret = 0; goto out; |