[PATCH 1/6] cgroup: reorganize cgroup_subtree_control_write()

2014-06-27 Thread Tejun Heo
Make the following two reorganizations to cgroup_subtree_control_write(). These are to prepare for future changes and shouldn't cause any functional difference. * Move availability above css offlining wait. * Move cgrp->child_subsys_mask update above new css creation. Signed-off-by: Tejun Heo

[PATCH 1/6] cgroup: reorganize cgroup_subtree_control_write()

2014-06-27 Thread Tejun Heo
Make the following two reorganizations to cgroup_subtree_control_write(). These are to prepare for future changes and shouldn't cause any functional difference. * Move availability above css offlining wait. * Move cgrp-child_subsys_mask update above new css creation. Signed-off-by: Tejun Heo