inotify: add do_inotify_init() helper; remove in-kernel call to syscall
authorDominik Brodowski <linux@dominikbrodowski.net>
Tue, 13 Mar 2018 20:27:21 +0000 (21:27 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Mon, 2 Apr 2018 18:15:45 +0000 (20:15 +0200)
commitd0d89d1ed3ff7e39d80773be09918037d06522fb
tree15285a15fd6717c67777ea25e131ca702296b902
parentab641afa73fbcdee962c4ec9641dd561fdae9944
inotify: add do_inotify_init() helper; remove in-kernel call to syscall

Using the inotify-internal do_inotify_init() helper allows us to get rid
of the in-kernel call to sys_inotify_init1() 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/inotify/inotify_user.c