projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c521efd
)
tracing: Only call pipe_close if pipe_close is defined
author
Steven Rostedt
<srostedt@redhat.com>
Wed, 9 Dec 2009 17:37:43 +0000
(12:37 -0500)
committer
Steven Rostedt
<rostedt@goodmis.org>
Wed, 9 Dec 2009 17:47:35 +0000
(12:47 -0500)
This fixes a cut and paste error that had pipe_close get called
if pipe_open was defined (not pipe_close).
Reported-by: Kosaki Motohiro <kosaki.motohiro@jp.fujitsu.com>
LKML-Reference: <
20091209153204
.F4CD.
A69D9226
@jp.fujitsu.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/trace/trace.c
b/kernel/trace/trace.c
index f804b407d43866a9a1eb9e3ae32d346f15e2a13c..dc937e1baa91a27bb7aa2d89cf70b6e9f2213dfb 100644
(file)
--- 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)
cpumask_clear_cpu(iter->cpu_file, tracing_reader_cpumask);
- if (iter->trace->pipe_
open
)
+ if (iter->trace->pipe_
close
)
iter->trace->pipe_close(iter);
mutex_unlock(&trace_types_lock);