aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-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 dcac7418f688..5cbddb59e99f 100644
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@ -1189,7 +1189,7 @@ ftrace_regex_release(struct inode *inode, struct file *file, int enable)
1189 1189
1190 mutex_lock(&ftrace_sysctl_lock); 1190 mutex_lock(&ftrace_sysctl_lock);
1191 mutex_lock(&ftrace_start_lock); 1191 mutex_lock(&ftrace_start_lock);
1192 if (iter->filtered && ftrace_start && ftrace_enabled) 1192 if (ftrace_start && ftrace_enabled)
1193 ftrace_run_update_code(FTRACE_ENABLE_CALLS); 1193 ftrace_run_update_code(FTRACE_ENABLE_CALLS);
1194 mutex_unlock(&ftrace_start_lock); 1194 mutex_unlock(&ftrace_start_lock);
1195 mutex_unlock(&ftrace_sysctl_lock); 1195 mutex_unlock(&ftrace_sysctl_lock);