Re: [PATCH] eventfs: Have inodes have unique inode numbers
From: Steven Rostedt
Date: Sun Jan 28 2024 - 19:21:24 EST
On Sun, 28 Jan 2024 18:59:43 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> > - somebody is still using it (you can 'rmdir()' a directory that some
> > other process has as its cwd, for example), which keeps it alive and
> > active anyway
>
> Wouldn't it be bad if the dentry hung around after the rmdir. You don't
> want to be able to access files after rmdir has finished.
And thinking about this more, this is one thing that is different with
eventfs than a normal file system. The rmdir in most cases where
directories are deleted in eventfs will fail if there's any open files
within it.
eventfs doesn't itself enforce this, but the users of eventfs do.
-- Steve