fs: add do_pipe2() helper; remove internal call to sys_pipe2()
authorDominik Brodowski <linux@dominikbrodowski.net>
Sun, 11 Mar 2018 10:34:28 +0000 (11:34 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Mon, 2 Apr 2018 18:15:35 +0000 (20:15 +0200)
commit0a216dd1cfe8a4966767e7e8c0bb90c3db163def
treec9af5d0a0c0adbc4b58bd971d2279d036b67fb6c
parent2dae0248061e6a8a2cccfb2ad01a76f674e40d72
fs: add do_pipe2() helper; remove internal call to sys_pipe2()

Using this helper removes an in-kernel call to the sys_pipe2() 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: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
fs/pipe.c