cgroup: move v1 mount functions to kernel/cgroup/cgroup-v1.c
authorTejun Heo <tj@kernel.org>
Tue, 27 Dec 2016 19:49:08 +0000 (14:49 -0500)
committerTejun Heo <tj@kernel.org>
Tue, 27 Dec 2016 19:49:08 +0000 (14:49 -0500)
commit1592c9b223749d59b933ebbfe37f1a8833d7a6cf
treedfed84440b8264b687e090bb60b642b7e739dd50
parentfa069904dd38c2d8e121a3c7e37f8daaddb6dafa
cgroup: move v1 mount functions to kernel/cgroup/cgroup-v1.c

Now that the v1 mount code is split into separate functions, move them
to kernel/cgroup/cgroup-v1.c along with the mount option handling
code.  As this puts all v1-only kernfs_syscall_ops in cgroup-v1.c,
move cgroup1_kf_syscall_ops to cgroup-v1.c too.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Acked-by: Zefan Li <lizefan@huawei.com>
kernel/cgroup/cgroup-internal.h
kernel/cgroup/cgroup-v1.c
kernel/cgroup/cgroup.c