move aio compat to fs/aio.c
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 20 Dec 2016 12:04:57 +0000 (07:04 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 23 Dec 2016 03:58:37 +0000 (22:58 -0500)
commitc00d2c7e89880036f288a764599b2b8b87c0a364
tree4f8690123b657080bd6c682e5f326b1b118ed630
parente93b1cc8a8965da137ffea0b88e5f62fa1d2a9e6
move aio compat to fs/aio.c

... and fix the minor buglet in compat io_submit() - native one
kills ioctx as cleanup when put_user() fails.  Get rid of
bogus compat_... in !CONFIG_AIO case, while we are at it - they
should simply fail with ENOSYS, same as for native counterparts.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/aio.c
fs/compat.c
include/linux/aio.h
kernel/sys_ni.c