cgroup: use do_each_subsys_mask() where applicable
authorTejun Heo <tj@kernel.org>
Tue, 23 Feb 2016 03:25:46 +0000 (22:25 -0500)
committerTejun Heo <tj@kernel.org>
Tue, 23 Feb 2016 03:25:46 +0000 (22:25 -0500)
commit996cd1fb7383cf087496e8a441bb10b9873b1eb6
treef855e6f5d5a786a0d5ef527db084c20c08b263dc
parentb4e0eeafba61b141c3af22d6636be3f477c5d3bd
cgroup: use do_each_subsys_mask() where applicable

There are several places in cgroup_subtree_control_write() which can
use do_each_subsys_mask() instead of manual mask testing.  Use it.

No functional changes.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
kernel/cgroup.c