From: Tejun Heo Date: Mon, 15 Apr 2013 03:50:08 +0000 (-0700) Subject: cgroup: implement task_cgroup_path_from_hierarchy() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~43^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=857a2beb09ab83e9a8185821ae16db7dfbe8b837;p=pandora-kernel.git 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 Acked-by: Greg Kroah-Hartman Acked-by: Li Zefan Cc: Kay Sievers Cc: Lennart Poettering Cc: Daniel Mack --- Reading git-diff-tree failed