linux/fs/tracefs
Steven Rostedt (Google) 7e8ad67c9b eventfs: Fix failure path in eventfs_create_events_dir()
The failure path of allocating ei goes to a path that dereferences ei.
Add another label that skips over the ei dereferences to do the rest of
the clean up.

Link: https://lore.kernel.org/all/70e7bace-561c-95f-1117-706c2c220bc@inria.fr/
Link: https://lore.kernel.org/linux-trace-kernel/20231019204132.6662fef0@gandalf.local.home

Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Fixes: 5790b1fb3d ("eventfs: Remove eventfs_file and just use eventfs_inode")
Reported-by: Julia Lawall <julia.lawall@inria.fr>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
2023-10-20 10:04:01 -04:00
..
event_inode.c eventfs: Fix failure path in eventfs_create_events_dir() 2023-10-20 10:04:01 -04:00
inode.c eventfs: Remove eventfs_file and just use eventfs_inode 2023-10-04 17:11:50 -04:00
internal.h eventfs: Remove eventfs_file and just use eventfs_inode 2023-10-04 17:11:50 -04:00
Makefile eventfs: Implement eventfs dir creation functions 2023-07-30 18:13:33 -04:00