commit | 2da440a26ce4743bd3e71ba964ba3f983d09bba5 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Tue Feb 11 11:52:48 2014 -0500 |
committer | Tejun Heo <tj@kernel.org> | Tue Feb 11 11:52:48 2014 -0500 |
tree | 3a8abc5740529ac5ba918fb464622f43beb6a533 | |
parent | 5f46990787e2721b4db190ddc8af6fdbe8f010d7 [diff] |
cgroup: introduce cgroup_init/exit_cftypes() Factor out cft->ss initialization into cgroup_init_cftypes() from cgroup_add_cftypes() and add cft->ss clearing to cgroup_rm_cftypes() through cgroup_exit_cftypes(). This doesn't make any meaningful difference now but the two new functions will be expanded during kernfs transition. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>