This is really just putting together two eventfs patches that were
stepping on each other in conflicts. I decided to rip out the free_ei()
part into its own patch (as that was what was confliciting.
This series is just a combination of:
https://lore.kernel.org/linux-trace-kernel/20231031111325.50087cd8@gandalf.local.home/
and
https://lore.kernel.org/linux-trace-kernel/20231031113627.2edfa83f@gandalf.local.home/
With the stripped out free_ei() patch.
Steven Rostedt (Google) (3):
eventfs: Have a free_ei() that just frees the eventfs_inode
eventfs: Test for ei->is_freed when accessing ei->dentry
eventfs: Save ownership and mode
----
fs/tracefs/event_inode.c | 217 +++++++++++++++++++++++++++++++++++++++++------
fs/tracefs/internal.h | 19 ++++-
2 files changed, 208 insertions(+), 28 deletions(-)