+2
−1
Loading
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: e2470945 "tracefs/eventfs: Add missing lockdown checks" Acked-by:Steven Rostedt (Google) <rostedt@goodmis.org> Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>