blktrace: fix possible memory leak
authorLi Zefan <lizf@cn.fujitsu.com>
Fri, 20 Mar 2009 01:47:30 +0000 (09:47 +0800)
committerIngo Molnar <mingo@elte.hu>
Sat, 21 Mar 2009 15:15:47 +0000 (16:15 +0100)
commit1a17662ea033674a58bad3603531b0b5d42572f6
tree157c7cdeab1192136f94ffe8098a368aea9c1437
parent22de89b371a18086162eacd9f8c960299334ab01
blktrace: fix possible memory leak

When we failed to create "block" debugfs dir, we should do some
cleanups.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <49C2F5B2.8000800@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/blktrace.c