inotify: move control flags from mask to mark flags
authorAmir Goldstein <amir73il@gmail.com>
Fri, 22 Apr 2022 12:03:13 +0000 (15:03 +0300)
committerJan Kara <jack@suse.cz>
Mon, 25 Apr 2022 12:37:06 +0000 (14:37 +0200)
commit38035c04f5865c4ef9597d6beed6a7178f90f64a
treef77e39bb7ffad2ecd03eb2bb1461d21e9f16c5b5
parenta32e697cda27679a0327ae2cafdad8c7170f548f
inotify: move control flags from mask to mark flags

The inotify control flags in the mark mask (e.g. FS_IN_ONE_SHOT) are not
relevant to object interest mask, so move them to the mark flags.

This frees up some bits in the object interest mask.

Link: https://lore.kernel.org/r/20220422120327.3459282-3-amir73il@gmail.com
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/notify/fsnotify.c
fs/notify/inotify/inotify.h
fs/notify/inotify/inotify_fsnotify.c
fs/notify/inotify/inotify_user.c
include/linux/fsnotify_backend.h