diff options
author | Tejun Heo <tj@kernel.org> | 2013-07-11 23:34:48 (GMT) |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-07-12 19:49:05 (GMT) |
commit | 913ffdb54366f94eec65c656cae8c6e00e1ab1b0 (patch) | |
tree | 55dae8f32f7a0a64ed6b665497e12414fb6d3103 /kernel/events | |
parent | add0c59d802e6118e51e21244c3871be35164e4b (diff) | |
download | linux-fsl-qoriq-913ffdb54366f94eec65c656cae8c6e00e1ab1b0.tar.xz |
cgroup: replace task_cgroup_path_from_hierarchy() with task_cgroup_path()
task_cgroup_path_from_hierarchy() was added for the planned new users
and none of the currently planned users wants to know about multiple
hierarchies. This patch drops the multiple hierarchy part and makes
it always return the path in the first non-dummy hierarchy.
As unified hierarchy will always have id 1, this is guaranteed to
return the path for the unified hierarchy if mounted; otherwise, it
will return the path from the hierarchy which happens to occupy the
lowest hierarchy id, which will usually be the first hierarchy mounted
after boot.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Cc: Lennart Poettering <lennart@poettering.net>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Jan Kaluža <jkaluza@redhat.com>
Diffstat (limited to 'kernel/events')
0 files changed, 0 insertions, 0 deletions