fs: add do_vmsplice() helper; remove in-kernel call to syscall
authorDominik Brodowski <linux@dominikbrodowski.net>
Sat, 17 Mar 2018 14:00:24 +0000 (15:00 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Mon, 2 Apr 2018 18:15:40 +0000 (20:15 +0200)
commit30cfe4ef8b8948842a48de7955ca0522568eeb6d
tree962f553daa1c08547bdda475bc98200caa87f81e
parent98e5f7bd2c67f4028a0797393092f8730118d713
fs: add do_vmsplice() helper; remove in-kernel call to syscall

Using the fs-internal do_vmsplice() helper allows us to get rid of the
fs-internal call to the sys_vmsplice() 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/splice.c