aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/trace/ftrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index b9f2e22faf2e..b42ec1de546b 100644
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@ -1194,7 +1194,7 @@ ftrace_regex_release(struct inode *inode, struct file *file, int enable)
1194 1194
1195 mutex_lock(&ftrace_sysctl_lock); 1195 mutex_lock(&ftrace_sysctl_lock);
1196 mutex_lock(&ftrace_start_lock); 1196 mutex_lock(&ftrace_start_lock);
1197 if (iter->filtered && ftrace_start_up && ftrace_enabled) 1197 if (ftrace_start_up && ftrace_enabled)
1198 ftrace_run_update_code(FTRACE_ENABLE_CALLS); 1198 ftrace_run_update_code(FTRACE_ENABLE_CALLS);
1199 mutex_unlock(&ftrace_start_lock); 1199 mutex_unlock(&ftrace_start_lock);
1200 mutex_unlock(&ftrace_sysctl_lock); 1200 mutex_unlock(&ftrace_sysctl_lock);