kernel_samsung_a53x/include
Gabriel Krisman Bertazi 6554de7632 fsnotify: Protect fsnotify_handle_inode_event from no-inode events
[ Upstream commit 24dca90590509a7a6cbe0650100c90c5b8a3468a ]

FAN_FS_ERROR allows events without inodes - i.e. for file system-wide
errors.  Even though fsnotify_handle_inode_event is not currently used
by fanotify, this patch protects other backends from cases where neither
inode or dir are provided.  Also document the constraints of the
interface (inode and dir cannot be both NULL).

Link: https://lore.kernel.org/r/20211025192746.66445-12-krisman@collabora.com
Suggested-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Jan Kara <jack@suse.cz>
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:46 +01:00
..
acpi
asm-generic
clocksource
crypto
drm
dt-bindings
keys
kunit
kvm
linux fsnotify: Protect fsnotify_handle_inode_event from no-inode events 2024-11-19 12:27:46 +01:00
math-emu
media
memory
misc
net
pcmcia
ras
rdma
scsc
scsi
sdp
soc
sound
target
test
trace SUNRPC: Eliminate the RQ_AUTHERR flag 2024-11-19 12:27:45 +01:00
uapi NFSD: remove vanity comments 2024-11-19 12:27:44 +01:00
variant1/linux
vdso
video
xen