fanotify: generalize fanotify_should_send_event()
authorAmir Goldstein <amir73il@gmail.com>
Fri, 20 Apr 2018 23:10:54 +0000 (16:10 -0700)
committerJan Kara <jack@suse.cz>
Fri, 18 May 2018 12:58:22 +0000 (14:58 +0200)
commit837a393438475177889dc3161b7250ed48dce27a
tree4751320ac899799666dd4742973e3cf33bd32d08
parent3dca1a7494e32a3186bd907963e387bf875ee54e
fanotify: generalize fanotify_should_send_event()

Use fsnotify_foreach_obj_type macros to generalize the code that filters
events by marks mask and ignored_mask.

This is going to be used for adding mark of super block object type.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/notify/fanotify/fanotify.c