From: Tejun Heo Date: Fri, 9 Aug 2013 00:11:26 +0000 (-0400) Subject: cgroup: make cgroup_task_iter remember the cgroup being iterated X-Git-Tag: v3.12-rc1~173^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c59cd3d840b1b0a8f996cbbd9132128dcaabbeb9;p=pandora-kernel.git cgroup: make cgroup_task_iter remember the cgroup being iterated Currently all cgroup_task_iter functions require @cgrp to be passed in, which is superflous and increases chance of usage error. Make cgroup_task_iter remember the cgroup being iterated and drop @cgrp argument from next and end functions. This patch doesn't introduce any behavior differences. Signed-off-by: Tejun Heo Acked-by: Li Zefan Acked-by: Michal Hocko Cc: Matt Helsley Cc: Johannes Weiner Cc: Balbir Singh --- Reading git-diff-tree failed