]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit82337561de3bfeb59e255a0954da87b4bc9a22e1
tree15285a15fd6717c67777ea25e131ca702296b902
parent57672de76a351cb53d5388389310186d8d766810
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