diff options
| author | Amir Goldstein <[email protected]> | 2025-02-03 22:32:03 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2025-02-07 09:27:26 +0000 |
| commit | 95101401bb50ae2cf9deee1bbf4d2b28d0dfdc26 (patch) | |
| tree | f242d1415175b06d3fe34dc82f111e591dab7298 /fs/file_table.c | |
| parent | selftests: always check mask returned by statmount(2) (diff) | |
| download | kernel-95101401bb50ae2cf9deee1bbf4d2b28d0dfdc26.tar.gz kernel-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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions
