Commit b786c6a9 authored by Jiri Slaby's avatar Jiri Slaby Committed by Ingo Molnar

relay: fix lock imbalance in relay_late_setup_files

One fail path in relay_late_setup_files() omits
Add it.
Signed-off-by: 's avatarJiri Slaby <>
Signed-off-by: 's avatarIngo Molnar <>
parent fdb6a8f4
......@@ -663,8 +663,10 @@ int relay_late_setup_files(struct rchan *chan,
/* Is chan already set up? */
if (unlikely(chan->has_base_filename))
if (unlikely(chan->has_base_filename)) {
return -EEXIST;
chan->has_base_filename = 1;
chan->parent = parent;
curr_cpu = get_cpu();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment