mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
UPSTREAM: cgroup: remove redundant kernfs_activate in cgroup_setup_root()
This step is already done in rebind_subsystems(). Not necessary to do it again. Change-Id: I52ce477a90ee58845d1848d8272b2455ef0ddf26 Signed-off-by: Wei Yang <richard.weiyang@linux.alibaba.com> Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
135d2a9d1d
commit
b7203cb42a
1 changed files with 0 additions and 1 deletions
|
|
@ -2163,7 +2163,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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue