kernel_samsung_a53x/fs/notify
Amir Goldstein 56ad70d781 fsnotify: count s_fsnotify_inode_refs for attached connectors
[ Upstream commit 11fa333b58ba1518e7c69fafb6513a0117f8fe33 ]

Instead of incrementing s_fsnotify_inode_refs when detaching connector
from inode, increment it earlier when attaching connector to inode.
Next patch is going to use s_fsnotify_inode_refs to count all objects
with attached connectors.

Link: https://lore.kernel.org/r/20210810151220.285179-3-amir73il@gmail.com
Reviewed-by: Matthew Bobrowski <repnop@google.com>
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-11-19 12:27:43 +01:00
..
dnotify file: Rename fcheck lookup_fd_rcu 2024-11-19 12:27:27 +01:00
fanotify fanotify: add pidfd support to the fanotify API 2024-11-19 12:27:43 +01:00
inotify fsnotify: use hash table for faster events merge 2024-11-19 12:27:36 +01:00
fdinfo.c fanotify: fix permission model of unprivileged group 2024-11-19 12:27:37 +01:00
fdinfo.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsnotify.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsnotify.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
group.c fanotify: configurable limits via sysfs 2024-11-19 12:27:37 +01:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mark.c fsnotify: count s_fsnotify_inode_refs for attached connectors 2024-11-19 12:27:43 +01:00
notification.c fsnotify: use hash table for faster events merge 2024-11-19 12:27:36 +01:00