Re: [PATCH] eventfs: Process deletion of dentry more thoroughly

From: Al Viro
Date: Tue Oct 31 2023 - 22:26:06 EST


On Tue, Oct 31, 2023 at 02:47:03PM -0400, Steven Rostedt wrote:
> From: "Steven Rostedt (Google)" <rostedt@xxxxxxxxxxx>
>
> Looking at how dentry is removed via the tracefs system, I found that
> eventfs does not do everything that it did under tracefs. The tracefs
> removal of a dentry calls simple_recursive_removal() that does a lot more
> than a simple d_invalidate().

Umm... Is there any reason not to use simple_recursive_removal() there?