kernel_samsung_a53x/fs/notify
Gabriel Krisman Bertazi ee7eadf543 fsnotify: Add wrapper around fsnotify_add_event
[ Upstream commit 1ad03c3a326a86e259389592117252c851873395 ]

fsnotify_add_event is growing in number of parameters, which in most
case are just passed a NULL pointer.  So, split out a new
fsnotify_insert_event function to clean things up for users who don't
need an insert hook.

Link: https://lore.kernel.org/r/20211025192746.66445-10-krisman@collabora.com
Suggested-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 12:27:46 +01:00
..
dnotify file: Rename fcheck lookup_fd_rcu 2024-11-19 12:27:27 +01:00
fanotify fsnotify: Add wrapper around fsnotify_add_event 2024-11-19 12:27:46 +01:00
inotify fsnotify: Add wrapper around fsnotify_add_event 2024-11-19 12:27:46 +01:00
fdinfo.c fanotify: fix permission model of unprivileged group 2024-11-19 12:27:37 +01:00
fdinfo.h
fsnotify.c fsnotify: count all objects with attached connectors 2024-11-19 12:27:44 +01:00
fsnotify.h fsnotify: count all objects with attached connectors 2024-11-19 12:27:44 +01:00
group.c fanotify: configurable limits via sysfs 2024-11-19 12:27:37 +01:00
Kconfig
Makefile
mark.c fsnotify: fix sb_connectors leak 2024-11-19 12:27:45 +01:00
notification.c fsnotify: Add wrapper around fsnotify_add_event 2024-11-19 12:27:46 +01:00