diff options
author | Tejun Heo | 2014-02-11 17:52:48 +0100 |
---|---|---|
committer | Tejun Heo | 2014-02-11 17:52:48 +0100 |
commit | 2da440a26ce4743bd3e71ba964ba3f983d09bba5 (patch) | |
tree | 3a8abc5740529ac5ba918fb464622f43beb6a533 /include/linux/cgroup.h | |
parent | cgroup: update the meaning of cftype->max_write_len (diff) | |
download | kernel-qcow2-linux-2da440a26ce4743bd3e71ba964ba3f983d09bba5.tar.gz kernel-qcow2-linux-2da440a26ce4743bd3e71ba964ba3f983d09bba5.tar.xz kernel-qcow2-linux-2da440a26ce4743bd3e71ba964ba3f983d09bba5.zip |
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>
Diffstat (limited to 'include/linux/cgroup.h')
0 files changed, 0 insertions, 0 deletions