summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-04-14 20:50:08 -0700
committerMaciej Wereski <m.wereski@partner.samsung.com>2014-12-22 09:16:48 +0100
commitc041e2cd281c85e7e66fc2ab0e6e2c8b37d97977 (patch)
treec2c11a197682b0cea6fdbd6897b792ca2afb63a5 /net
parenteed4bbdc4a0ae13b806e4f8d28acfbab9b7d008b (diff)
downloadlinux-3.10-c041e2cd281c85e7e66fc2ab0e6e2c8b37d97977.tar.gz
linux-3.10-c041e2cd281c85e7e66fc2ab0e6e2c8b37d97977.tar.bz2
linux-3.10-c041e2cd281c85e7e66fc2ab0e6e2c8b37d97977.zip
cgroup: implement task_cgroup_path_from_hierarchy()
kdbus folks want a sane way to determine the cgroup path that a given task belongs to on a given hierarchy, which is a reasonble thing to expect from cgroup core. Implement task_cgroup_path_from_hierarchy(). v2: Dropped unnecessary NULL check on the return value of task_cgroup_from_root() as suggested by Li Zefan. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Greg Kroah-Hartman <greg@kroah.com> Acked-by: Li Zefan <lizefan@huawei.com> Cc: Kay Sievers <kay@vrfy.org> Cc: Lennart Poettering <lennart@poettering.net> Cc: Daniel Mack <daniel@zonque.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions