On Thu, Jul 11, 2013 at 04:34:48PM -0700, Tejun Heo wrote: > 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@xxxxxxxxxx> > Cc: Lennart Poettering <lennart@xxxxxxxxxxxxxx> > Cc: Kay Sievers <kay.sievers@xxxxxxxx> > Cc: Jan Kaluža <jkaluza@xxxxxxxxxx> Applied this to cgroup/for-3.11-fixes so that the out-of-tree usages currently being developed can target 3.11 kernel. This function currently doesn't have any in-tree users so this won't affect anything. Thanks. -- tejun _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/containers