diff options
| author | Steven Rostedt (Google) <[email protected]> | 2023-11-01 17:25:43 +0000 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2023-11-02 03:49:55 +0000 |
| commit | db3a397209b00d2e4e0a068608e5c546fc064b82 (patch) | |
| tree | 171463505b2aa9ac5ff8cb12b556de6416577c70 /drivers/cdx/controller/cdx_controller.c | |
| parent | eventfs: Remove "is_freed" union with rcu head (diff) | |
| download | kernel-db3a397209b00d2e4e0a068608e5c546fc064b82.tar.gz kernel-db3a397209b00d2e4e0a068608e5c546fc064b82.zip | |
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/[email protected]
Cc: Ajay Kaher <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Andrew Morton <[email protected]>
Reviewed-by: Masami Hiramatsu (Google) <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions
