diff options
author | Amir Goldstein <amir73il@gmail.com> | 2023-12-12 12:44:38 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-12-12 18:20:02 +0300 |
commit | 36e28c42187c95eb148873ffb059bfdcb8cdb75b (patch) | |
tree | 8d18f9bb5fa803c5d9e319f8c6e9abf09afd0c2a /fs/remap_range.c | |
parent | 705bcfcbde38b9dd4db00cd3deb0b98bddb0dd4a (diff) | |
download | linux-36e28c42187c95eb148873ffb059bfdcb8cdb75b.tar.xz |
fsnotify: split fsnotify_perm() into two hooks
We would like to make changes to the fsnotify access permission hook -
add file range arguments and add the pre modify event.
In preparation for these changes, split the fsnotify_perm() hook into
fsnotify_open_perm() and fsnotify_file_perm().
This is needed for fanotify "pre content" events.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Link: https://lore.kernel.org/r/20231212094440.250945-4-amir73il@gmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/remap_range.c')
0 files changed, 0 insertions, 0 deletions