inotify: add do_inotify_init() helper; remove in-kernel call to syscall
authorDominik Brodowski <[email protected]>
Tue, 13 Mar 2018 20:27:21 +0000 (21:27 +0100)
committerDominik Brodowski <[email protected]>
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[email protected]

Acked-by: Jan Kara <[email protected]>
Cc: Amir Goldstein <[email protected]>
Cc: [email protected]
Signed-off-by: Dominik Brodowski <[email protected]>
fs/notify/inotify/inotify_user.c