From: Al Viro Date: Fri, 30 Aug 2013 16:29:49 +0000 (-0400) Subject: Kill indirect include of file.h from eventfd.h, use fdget() in cgroup.c X-Git-Tag: v3.12-rc1~72^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e10f3c98888ee88ea2543aa636db6410fa47477;p=pandora-kernel.git Kill indirect include of file.h from eventfd.h, use fdget() in cgroup.c kernel/cgroup.c is the only place in the tree that relies on eventfd.h pulling file.h; move that include there. Switch from eventfd_fget()/fput() to fdget()/fdput(), while we are at it - eventfd_ctx_fileget() will fail on non-eventfd descriptors just fine, no need to do that check twice... Signed-off-by: Al Viro --- Reading git-diff-tree failed