diff options
author | 2025-02-03 23:32:03 +0100 | |
---|---|---|
committer | 2025-02-07 10:27:26 +0100 | |
commit | 95101401bb50ae2cf9deee1bbf4d2b28d0dfdc26 (patch) | |
tree | f242d1415175b06d3fe34dc82f111e591dab7298 /scripts/lib/kdoc/kdoc_files.py | |
parent | selftests: always check mask returned by statmount(2) (diff) | |
download | wireguard-linux-95101401bb50ae2cf9deee1bbf4d2b28d0dfdc26.tar.xz wireguard-linux-95101401bb50ae2cf9deee1bbf4d2b28d0dfdc26.zip |
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>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions