tracing: Only call pipe_close if pipe_close is defined
authorSteven Rostedt <srostedt@redhat.com>
Wed, 9 Dec 2009 17:37:43 +0000 (12:37 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 9 Dec 2009 17:47:35 +0000 (12:47 -0500)
commit29bf4a5e3fed3dde3eb629a0cb1762c1e9217458
tree42a93ba9e1e7d0fb7b1f46382dba9a5245768629
parentc521efd1700a8c0f7ce26f011f5eaecca17fabfa
tracing: Only call pipe_close if pipe_close is defined

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