summaryrefslogtreecommitdiffstats
path: root/block/blk-cgroup.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2014-07-15 11:05:10 -0400
committerTejun Heo <tj@kernel.org>2014-07-15 11:05:10 -0400
commit5de4fa13c4df302db41e80ca679df24fdad0d661 (patch)
treebe42d0a743175431ee8dc6e5e43df99395163f98 /block/blk-cgroup.c
parent05ebb6e60f044a9cef2549b6204559276500f363 (diff)
downloadop-kernel-dev-5de4fa13c4df302db41e80ca679df24fdad0d661.zip
op-kernel-dev-5de4fa13c4df302db41e80ca679df24fdad0d661.tar.gz
cgroup: initialize cgrp_dfl_root_inhibit_ss_mask from !->dfl_files test
cgrp_dfl_root_inhibit_ss_mask determines which subsystems are not supported on the default hierarchy and is currently initialized statically and just includes the debug subsystem. Now that there's cgroup_subsys->dfl_files, we can easily tell which subsystems support the default hierarchy or not. Let's initialize cgrp_dfl_root_inhibit_ss_mask by testing whether cgroup_subsys->dfl_files is NULL. After all, subsystems with NULL ->dfl_files aren't useable on the default hierarchy anyway. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'block/blk-cgroup.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud