cgroup: clean up the cftype array for the base cgroup files
authorTejun Heo <tj@kernel.org>
Tue, 4 Jun 2013 02:14:34 +0000 (19:14 -0700)
committerTejun Heo <tj@kernel.org>
Wed, 5 Jun 2013 19:00:33 +0000 (12:00 -0700)
commitd5c56ced775f6bdc32b689b01c9c4f9b66e18610
treee9b82f9fa20c1babd4477ad88595c27f10422b28
parentcc5943a7816ba6c00639837a62131386619548dc
cgroup: clean up the cftype array for the base cgroup files

* Rename it from files[] (really?) to cgroup_base_files[].

* Drop CGROUP_FILE_GENERIC_PREFIX which was defined as "cgroup." and
  used inconsistently.  Just use "cgroup." directly.

* Collect insane files at the end.  Note that only the insane ones are
  missing "cgroup." prefix.

This patch doesn't introduce any functional changes.

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