Re: [PATCH 1/8] simple_recursive_removal(): saner interaction with fsnotify

Christian Brauner
2025-06-16T14:34:04Z

On Sat, Jun 14, 2025 at 07:02:23AM +0100, Al Viro wrote:
> 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.
>
> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
> ---

Reviewed-by: Christian Brauner <brauner@kernel.org>