Jan, The following two patches are a prelude to FAN_MARK_IGNORE patch set [1]. I have written tests [2] and man page draft [3] for FAN_MARK_IGNORE, but not proposing it for next, because one big UAPI change is enough and it is too late in the cycle anyway. However, I though you may want to consider these two patches for next. The test fanotify09 on [2] has two new test cases for the fixes in these patches. Thanks, Amir. Changes since v1: - Change hacky mark iterator macros - Clarify mark iterator in fsnotify_iter_next() - Open code parent mark type logic in fsnotify_iter_select_report_types() [1] https://github.com/amir73il/linux/commits/fan_mark_ignore [2] https://github.com/amir73il/ltp/commits/fan_mark_ignore [3] https://github.com/amir73il/man-pages/commits/fan_mark_ignore Amir Goldstein (2): fsnotify: introduce mark type iterator fsnotify: consistent behavior for parent not watching children fs/notify/fanotify/fanotify.c | 24 ++------- fs/notify/fsnotify.c | 85 +++++++++++++++++--------------- include/linux/fsnotify_backend.h | 31 +++++++++--- 3 files changed, 73 insertions(+), 67 deletions(-) -- 2.25.1