diff options
| author | Al Viro <[email protected]> | 2025-03-06 23:28:56 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2025-06-16 19:07:34 +0000 |
| commit | 61c5d53e815784708c45dac086c50a12ed1db694 (patch) | |
| tree | 5404edfaec465d5b9390f1ac620ae40a55ad9b23 /rust/helpers/helpers.c | |
| parent | Linux 6.16-rc1 (diff) | |
| download | kernel-61c5d53e815784708c45dac086c50a12ed1db694.tar.gz kernel-61c5d53e815784708c45dac086c50a12ed1db694.zip | |
simple_recursive_removal(): saner interaction with fsnotify
Make it match the real unlink(2)/rmdir(2) - notify *after* the
operation. And use fsnotify_delete() instead of messing with
fsnotify_unlink()/fsnotify_rmdir().
Currently the only caller that cares is the one in debugfs, and
there the order matching the normal syscalls makes more sense;
it'll get more serious for users introduced later in the series.
Reviewed-by: Amir Goldstein <[email protected]>
Reviewed-by: Christian Brauner <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
