diff options
author | Tejun Heo <tj@kernel.org> | 2013-06-28 17:07:30 -0700 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-07-12 12:34:02 -0700 |
commit | f172e67cf9d842bc646d0f66792e38435a334b1e (patch) | |
tree | 9d270162713a25dc37d2e10553e93f7a4080d111 /tools/perf/scripts/python/syscall-counts.py | |
parent | 3126121fb30941552b1a806c7c2e686bde57e270 (diff) |
cgroup: move number_of_cgroups test out of rebind_subsystems() into cgroup_remount()
rebind_subsystems() currently fails if the hierarchy has any !root
cgroups; however, on the planned unified hierarchy,
rebind_subsystems() will be used while populated. Move the test to
cgroup_remount(), which is the only place the test is necessary
anyway.
As it's impossible for the other two callers of rebind_subsystems() to
have populated hierarchy, this doesn't make any behavior changes.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions