mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-09 18:15:49 +00:00
cgroup: factor out cgroup_setup_root() from cgroup_mount()
Factor out new root initialization into cgroup_setup_root() from cgroup_mount(). This makes it easier to follow and will ease kernfs conversion. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>
This commit is contained in:
parent
8e30e2b8ba
commit
d427dfeb12
1 changed files with 113 additions and 98 deletions
211
kernel/cgroup.c
211
kernel/cgroup.c
Loading…
Add table
Add a link
Reference in a new issue