diff options
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r-- | kernel/trace/trace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index f804b407d438..dc937e1baa91 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c | |||
@@ -2899,7 +2899,7 @@ static int tracing_release_pipe(struct inode *inode, struct file *file) | |||
2899 | cpumask_clear_cpu(iter->cpu_file, tracing_reader_cpumask); | 2899 | cpumask_clear_cpu(iter->cpu_file, tracing_reader_cpumask); |
2900 | 2900 | ||
2901 | 2901 | ||
2902 | if (iter->trace->pipe_open) | 2902 | if (iter->trace->pipe_close) |
2903 | iter->trace->pipe_close(iter); | 2903 | iter->trace->pipe_close(iter); |
2904 | 2904 | ||
2905 | mutex_unlock(&trace_types_lock); | 2905 | mutex_unlock(&trace_types_lock); |