linux/fs/tracefs
Steven Rostedt (Google) 6e2a33522e eventfs: Have a free_ei() that just frees the eventfs_inode
commit db3a397209 upstream.

As the eventfs_inode is freed in two different locations, make a helper
function free_ei() to make sure all the allocated fields of the
eventfs_inode is freed.

This requires renaming the existing free_ei() which is called by the srcu
handler to free_rcu_ei() and have free_ei() just do the freeing, where
free_rcu_ei() will call it.

Link: https://lkml.kernel.org/r/20231101172649.265214087@goodmis.org

Cc: Ajay Kaher <akaher@vmware.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-02-23 09:25:20 +01:00
..
event_inode.c eventfs: Have a free_ei() that just frees the eventfs_inode 2024-02-23 09:25:20 +01:00
inode.c eventfs: Remove eventfs_file and just use eventfs_inode 2024-02-23 09:25:19 +01:00
internal.h eventfs: Remove "is_freed" union with rcu head 2024-02-23 09:25:20 +01:00
Makefile eventfs: Implement eventfs dir creation functions 2023-07-30 18:13:33 -04:00