[git pull] vfs pile 4: fs/compat.c

From: Al Viro
Date: Mon May 01 2017 - 18:44:21 EST


More moving of compat syscalls from fs/compat.c to fs/*.c where the
native counterparts live. And death to compat_sys_getdents64() - the only
architecture that used to need it was ia64, and _that_ has lost biarch
support quite a few years ago.

Quite a bit of guts of select.c, etc. is not exposed anymore.

The following changes since commit a71c9a1c779f2499fb2afc0553e543f18aff6edf:

Linux 4.11-rc5 (2017-04-02 17:23:54 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.compat

for you to fetch changes up to 801b25f104647d44dc5b5cce2c72e2283b3757de:

fs/compat.c: trim unused includes (2017-04-17 12:52:27 -0400)

----------------------------------------------------------------
Al Viro (11):
Remove compat_sys_getdents64()
move compat select-related syscalls to fs/select.c
utimes: move compat syscalls from compat.c
statfs: move compat syscalls from compat.c
readdir: move compat syscalls from compat.c
fcntl: move compat syscalls from compat.c
stat: move compat syscalls from compat.c
open: move compat syscalls from compat.c
fhandle: move compat syscalls from compat.c
move compat_rw_copy_check_uvector() over to fs/read_write.c
fs/compat.c: trim unused includes

arch/arm64/include/asm/unistd.h | 1 -
arch/arm64/include/asm/unistd32.h | 2 +-
arch/x86/entry/syscalls/syscall_32.tbl | 2 +-
arch/x86/include/asm/unistd.h | 1 -
fs/compat.c | 1191 --------------------------------
fs/fcntl.c | 157 +++++
fs/fhandle.c | 13 +
fs/internal.h | 2 -
fs/open.c | 20 +
fs/read_write.c | 75 ++
fs/readdir.c | 165 +++++
fs/select.c | 421 ++++++++++-
fs/stat.c | 86 +++
fs/statfs.c | 140 ++++
fs/utimes.c | 66 +-
include/linux/compat.h | 5 -
include/linux/poll.h | 56 --
include/uapi/asm-generic/unistd.h | 3 +-
18 files changed, 1139 insertions(+), 1267 deletions(-)