]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteef0957b6aefcd0e4ad135bbb4ed0a5bbd571d88
treef855e6f5d5a786a0d5ef527db084c20c08b263dc
parentdfa74ac436d918ba9369cb76dba1b0e54a4d2072
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