summaryrefslogtreecommitdiff
path: root/fs/tracefs/internal.h
diff options
context:
space:
mode:
authorSteven Rostedt (Google) <rostedt@goodmis.org>2023-11-01 20:25:43 +0300
committerSteven Rostedt (Google) <rostedt@goodmis.org>2023-11-02 06:49:55 +0300
commitdb3a397209b00d2e4e0a068608e5c546fc064b82 (patch)
tree171463505b2aa9ac5ff8cb12b556de6416577c70 /fs/tracefs/internal.h
parentf2f496370afcbc5227d7002da28c74b91fed12ff (diff)
downloadlinux-db3a397209b00d2e4e0a068608e5c546fc064b82.tar.xz
eventfs: Have a free_ei() that just frees the eventfs_inode
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>
Diffstat (limited to 'fs/tracefs/internal.h')
0 files changed, 0 insertions, 0 deletions