Amir Goldstein 95101401bb
fsnotify: use accessor to set FMODE_NONOTIFY_*
The FMODE_NONOTIFY_* bits are a 2-bits mode.  Open coding manipulation
of those bits is risky.  Use an accessor file_set_fsnotify_mode() to
set the mode.

Rename file_set_fsnotify_mode() => file_set_fsnotify_mode_from_watchers()
to make way for the simple accessor name.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Link: https://lore.kernel.org/r/20250203223205.861346-2-amir73il@gmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
2025-02-07 10:27:26 +01:00
..
2024-08-07 13:08:14 +02:00
2025-01-28 12:25:12 -08:00
2023-12-08 12:02:38 +01:00
2024-09-03 10:47:47 +02:00
2023-12-08 12:02:38 +01:00
2024-11-20 09:21:11 -08:00
2023-12-08 12:02:37 +01:00