android_kernel_xiaomi_sm8450/fs/notify
Amir Goldstein 74f9be7f64 fsnotify: make allow_dups a property of the group
[ Upstream commit f3010343d9e119da35ee864b3a28993bb5c78ed7 ]

Instead of passing the allow_dups argument to fsnotify_add_mark()
as an argument, define the group flag FSNOTIFY_GROUP_DUPS to express
the allow_dups behavior and set this behavior at group creation time
for all calls of fsnotify_add_mark().

Rename the allow_dups argument to generic add_flags argument for future
use.

Link: https://lore.kernel.org/r/20220422120327.3459282-6-amir73il@gmail.com
Suggested-by: Jan Kara <jack@suse.cz>
Signed-off-by: Amir Goldstein <amir73il@gmail.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-06-21 14:53:39 +02:00
..
dnotify fsnotify: pass flags argument to fsnotify_alloc_group() 2024-06-21 14:53:39 +02:00
fanotify fsnotify: pass flags argument to fsnotify_alloc_group() 2024-06-21 14:53:39 +02:00
inotify fsnotify: pass flags argument to fsnotify_alloc_group() 2024-06-21 14:53:39 +02:00
fdinfo.c fanotify: fix permission model of unprivileged group 2024-06-21 14:53:08 +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 inotify: move control flags from mask to mark flags 2024-06-21 14:53:39 +02:00
fsnotify.h fsnotify: count all objects with attached connectors 2024-06-21 14:53:17 +02:00
group.c fsnotify: pass flags argument to fsnotify_alloc_group() 2024-06-21 14:53:39 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
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: make allow_dups a property of the group 2024-06-21 14:53:39 +02:00
notification.c fsnotify: Pass group argument to free_event 2024-06-21 14:53:22 +02:00