aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2025-03-06 23:28:56 +0000
committerAl Viro <[email protected]>2025-06-16 19:07:34 +0000
commit61c5d53e815784708c45dac086c50a12ed1db694 (patch)
tree5404edfaec465d5b9390f1ac620ae40a55ad9b23 /rust/helpers/helpers.c
parentLinux 6.16-rc1 (diff)
downloadkernel-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