fanotify: add do_fanotify_mark() helper; remove in-kernel call to syscall
authorDominik Brodowski <linux@dominikbrodowski.net>
Sat, 17 Mar 2018 14:06:11 +0000 (15:06 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Mon, 2 Apr 2018 18:15:45 +0000 (20:15 +0200)
commit183caa3c8668e95c3647ac1e7e6b8876b7d9fbdb
treed1471d782e230a792289e684f2ff8ba902d2e928
parentd0d89d1ed3ff7e39d80773be09918037d06522fb
fanotify: add do_fanotify_mark() helper; remove in-kernel call to syscall

Using the fs-internal do_fanotify_mark() helper allows us to get rid of
the fs-internal call to the sys_fanotify_mark() 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

Acked-by: Jan Kara <jack@suse.cz>
Cc: Amir Goldstein <amir73il@gmail.com>
Cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
fs/notify/fanotify/fanotify_user.c