tracing: Fix failure path in ftrace_graph_write()
commit1eb90f138b3fb4cc15f3acec94aa788e846269f7
authorLi Zefan <lizf@cn.fujitsu.com>
Tue, 22 Sep 2009 05:52:57 +0000 (22 13:52 +0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 22 Sep 2009 08:28:56 +0000 (22 10:28 +0200)
treed5e361214065598094d9b4ec71b3591edeaa74e5
parent4ba7978e98a3ff92cebfb0f31a02c309e3ffa1fe
tracing: Fix failure path in ftrace_graph_write()

Don't call trace_parser_put() on uninitialized trace_parser.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <4AB86639.3000003@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/ftrace.c