diff options
author | Tejun Heo <tj@kernel.org> | 2014-02-11 11:52:48 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-02-11 11:52:48 -0500 |
commit | 2da440a26ce4743bd3e71ba964ba3f983d09bba5 (patch) | |
tree | 3a8abc5740529ac5ba918fb464622f43beb6a533 /mm/memory-failure.c | |
parent | 5f46990787e2721b4db190ddc8af6fdbe8f010d7 (diff) | |
download | lwn-2da440a26ce4743bd3e71ba964ba3f983d09bba5.tar.gz lwn-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 'mm/memory-failure.c')
0 files changed, 0 insertions, 0 deletions