summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/allocator/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2025-10-25 18:13:48 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2025-11-16 01:35:01 -0500
commit798a401660a151633cb171738a72a8f1efb9b0b4 (patch)
tree78722461d7c1880082bd7c810a767b79578fe6e5 /rust/kernel/alloc/allocator/git@git.tavy.me:linux.git
parentc460192aae197df1b4db1dca493c35ad529f1b64 (diff)
tracefs: fix a leak in eventfs_create_events_dir()
If we have LOCKDOWN_TRACEFS, the function bails out - *after* having locked the parent directory and without bothering to undo that. Just check it before tracefs_start_creating()... Fixes: e24709454c45 "tracefs/eventfs: Add missing lockdown checks" Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'rust/kernel/alloc/allocator/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions