linux/fs/notify
Amir Goldstein 5b0457ad02 fsnotify: remove redundant arguments to handle_event()
inode_mark and vfsmount_mark arguments are passed to handle_event()
operation as function arguments as well as on iter_info struct.
The difference is that iter_info struct may contain marks that should
not be handled and are represented as NULL arguments to inode_mark or
vfsmount_mark.

Instead of passing the inode_mark and vfsmount_mark arguments, add
a report_mask member to iter_info struct to indicate which marks should
be handled, versus marks that should only be kept alive during user
wait.

This change is going to be used for passing more mark types
with handle_event() (i.e. super block marks).

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
2018-05-18 14:58:22 +02:00
..
dnotify fsnotify: remove redundant arguments to handle_event() 2018-05-18 14:58:22 +02:00
fanotify fsnotify: remove redundant arguments to handle_event() 2018-05-18 14:58:22 +02:00
inotify fsnotify: remove redundant arguments to handle_event() 2018-05-18 14:58:22 +02:00
fdinfo.c fsnotify: use type id to identify connector object type 2018-05-18 14:58:22 +02:00
fdinfo.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
fsnotify.c fsnotify: remove redundant arguments to handle_event() 2018-05-18 14:58:22 +02:00
fsnotify.h fsnotify: remove redundant arguments to handle_event() 2018-05-18 14:58:22 +02:00
group.c fsnotify: use type id to identify connector object type 2018-05-18 14:58:22 +02:00
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mark.c fsnotify: use type id to identify connector object type 2018-05-18 14:58:22 +02:00
notification.c fsnotify: Let userspace know about lost events due to ENOMEM 2018-02-27 10:25:33 +01:00