linux/include
Amir Goldstein 318652e07f fsnotify: check if file is actually being watched for pre-content events on open
So far, we set FMODE_NONOTIFY_ flags at open time if we know that there
are no permission event watchers at all on the filesystem, but lack of
FMODE_NONOTIFY_ flags does not mean that the file is actually watched.

For pre-content events, it is possible to optimize things so that we
don't bother trying to send pre-content events if file was not watched
(through sb, mnt, parent or inode itself) on open. Set FMODE_NONOTIFY_
flags according to that.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/2ddcc9f8d1fde48d085318a6b5a889289d8871d8.1731684329.git.josef@toxicpanda.com
2024-12-10 12:03:16 +01:00
..
acpi common: switch back from remove_new() to remove() callback 2024-11-25 17:31:39 -08:00
asm-generic RISC-V Paches for the 6.13 Merge Window, Part 1 2024-11-27 11:19:09 -08:00
clocksource
crypto This update includes the following changes: 2024-11-19 10:28:41 -08:00
cxl
drm drm for 6.13-rc1 2024-11-21 14:56:17 -08:00
dt-bindings The core framework gained a clk provider helper, a clk consumer helper, and 2024-11-22 17:02:25 -08:00
keys
kunit The core framework gained a clk provider helper, a clk consumer helper, and 2024-11-22 17:02:25 -08:00
kvm
linux fsnotify: check if file is actually being watched for pre-content events on open 2024-12-10 12:03:16 +01:00
math-emu
media
memory
misc
net Networking changes for 6.13. 2024-11-21 08:28:08 -08:00
pcmcia
ras
rdma
rv
scsi Random number generator updates for Linux 6.13-rc1. 2024-11-19 10:43:44 -08:00
soc The core framework gained a clk provider helper, a clk consumer helper, and 2024-11-22 17:02:25 -08:00
sound ASoC: Updates for v6.13 2024-11-18 14:34:54 +01:00
target
trace Add Rust support for trace events: 2024-11-25 15:44:29 -08:00
uapi fs: get rid of __FMODE_NONOTIFY kludge 2024-12-09 11:34:29 +01:00
ufs
vdso
video - Improved handling of LCD power states and interactions with the fbdev subsystem. 2024-11-22 16:29:57 -08:00
xen