fs: add do_lookup_dcookie() helper; remove in-kernel call to syscall
authorDominik Brodowski <linux@dominikbrodowski.net>
Sat, 17 Mar 2018 13:53:38 +0000 (14:53 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Mon, 2 Apr 2018 18:15:39 +0000 (20:15 +0200)
commit98e5f7bd2c67f4028a0797393092f8730118d713
tree2988fe6dfee12d2ee30f55a5782ae26a50cfedbf
parent2fc96f8331ba7d08ddc126d154a1504b9a79b79e
fs: add do_lookup_dcookie() helper; remove in-kernel call to syscall

Using the fs-internal do_lookup_dcookie() helper allows us to get rid of
fs-internal calls to the sys_lookup_dcookie() 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/dcookies.c