cgroup: remove cgroup_add_file[s]()
authorTejun Heo <tj@kernel.org>
Sun, 1 Apr 2012 19:09:55 +0000 (12:09 -0700)
committerTejun Heo <tj@kernel.org>
Sun, 1 Apr 2012 19:09:55 +0000 (12:09 -0700)
commitdb0416b64977cb0f382175608286cc80c7573e38
treea244be0b7e7467ed89c390997aec6b176de71140
parent6bc103498f5fe512928496fc7802d639cc2d1d20
cgroup: remove cgroup_add_file[s]()

No controller is using cgroup_add_files[s]().  Unexport them, and
convert cgroup_add_files() to handle NULL entry terminated array
instead of taking count explicitly and continue creation on failure
for internal use.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizf@cn.fujitsu.com>
include/linux/cgroup.h
kernel/cgroup.c