fs: add do_renameat2() helper; remove internal call to sys_renameat2()
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:36 +0000 (20:15 +0200)
commitee81feb64ead8e4bed0ebc94c980e6cd836aaafd
tree5a975b46d54eb7fcd3a65c55b55361992db89322
parent0a216dd1cfe8a4966767e7e8c0bb90c3db163def
fs: add do_renameat2() helper; remove internal call to sys_renameat2()

Using this helper removes in-kernel calls to the sys_renameat2() 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/namei.c