From: Tejun Heo Date: Tue, 11 Feb 2014 16:52:49 +0000 (-0500) Subject: cgroup: introduce cgroup_ino() X-Git-Tag: v3.15-rc1~109^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1664924062393bb048203bd4622e0b1c9e1d328;p=pandora-kernel.git cgroup: introduce cgroup_ino() mm/memory-failure.c::hwpoison_filter_task() has been reaching into cgroup to extract the associated ino to be used as a filtering criterion. This is an implementation detail which shouldn't be depended upon from outside cgroup proper and is about to change with the scheduled kernfs conversion. This patch introduces a proper interface to determine the associated ino, cgroup_ino(), and updates hwpoison_filter_task() to use it instead of reaching directly into cgroup. Signed-off-by: Tejun Heo Acked-by: Li Zefan Cc: Andi Kleen Cc: Wu Fengguang --- Reading git-diff-tree failed