aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/ftrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/ftrace.c')
-rw-r--r--kernel/trace/ftrace.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index 1ed514fe3a30..7cb6f1922598 100644
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@ -2199,15 +2199,15 @@ ftrace_regex_write(struct file *file, const char __user *ubuf,
2199 ret = ftrace_process_regex(parser->buffer, 2199 ret = ftrace_process_regex(parser->buffer,
2200 parser->idx, enable); 2200 parser->idx, enable);
2201 if (ret) 2201 if (ret)
2202 goto out; 2202 goto out_unlock;
2203 2203
2204 trace_parser_clear(parser); 2204 trace_parser_clear(parser);
2205 } 2205 }
2206 2206
2207 ret = read; 2207 ret = read;
2208 2208out_unlock:
2209 mutex_unlock(&ftrace_regex_lock); 2209 mutex_unlock(&ftrace_regex_lock);
2210out: 2210
2211 return ret; 2211 return ret;
2212} 2212}
2213 2213