fs: add do_compat_fcntl64() helper; remove in-kernel call to compat syscall
authorDominik Brodowski <linux@dominikbrodowski.net>
Tue, 20 Mar 2018 18:29:53 +0000 (19:29 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Mon, 2 Apr 2018 18:15:42 +0000 (20:15 +0200)
commite02af2ff654806c5dc93412fffd77d67d1125ccc
tree43f31b20bcc22e244c0c4243d7d5e3c4701a1a74
parent4bdb9acabff2dfcb856c40b6936269d87f490c8d
fs: add do_compat_fcntl64() helper; remove in-kernel call to compat syscall

Using the fs-internal do_compat_fcntl64() helper allows us to get rid of
the fs-internal call to the compat_sys_fcntl64() syscall.

This patch is part of a series which removes in-kernel calls to syscalls.
On this basis, the syscall entry path can be streamlined. For details, see
http://lkml.kernel.org/r/20180325162527.GA17492@light.dominikbrodowski.net

Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
fs/fcntl.c