diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-08-30 12:29:49 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-09-07 19:54:57 -0400 |
commit | 4e10f3c98888ee88ea2543aa636db6410fa47477 (patch) | |
tree | b54140b4a3db046bebc404ae57e61d9f1ca31b94 /fs/namei.c | |
parent | d040790391f292bbe5bc6b990c66af9787c855a1 (diff) | |
download | op-kernel-dev-4e10f3c98888ee88ea2543aa636db6410fa47477.zip op-kernel-dev-4e10f3c98888ee88ea2543aa636db6410fa47477.tar.gz |
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 <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namei.c')
0 files changed, 0 insertions, 0 deletions