cgroup: factor out cgroup_{apply|finalize}_control() from cgroup_subtree_control_write()
authorTejun Heo <tj@kernel.org>
Thu, 3 Mar 2016 14:58:00 +0000 (09:58 -0500)
committerTejun Heo <tj@kernel.org>
Thu, 3 Mar 2016 14:58:00 +0000 (09:58 -0500)
commitf7b2814bb9b6cb1d69333e1592c702260fcb4184
treec3f3d5c0c1e96cc170d8fa40d9ef997b5123e5e3
parent15a27c362d54378f17ec078579b2f6af88495a3f
cgroup: factor out cgroup_{apply|finalize}_control() from cgroup_subtree_control_write()

Factor out cgroup_{apply|finalize}_control() so that control mask
update can be done in several simple steps.  This patch doesn't
introduce behavior changes.

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