]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
blktrace: remove blk_probe_mutex
authorLi Zefan <lizf@cn.fujitsu.com>
Fri, 20 Mar 2009 01:48:26 +0000 (09:48 +0800)
committerIngo Molnar <mingo@elte.hu>
Sat, 21 Mar 2009 15:16:25 +0000 (16:16 +0100)
commit3c289ba7c320560ee74979a8895141c829046a2d
tree293c9d1d931c06acf06998a6ea052193c0a8cf4e
parent5006ea73f38caef6065d1136808413813271633f
blktrace: remove blk_probe_mutex

blk_register_tracepoints() always returns 0, so make it return void,
thus we don't need to use blk_probe_mutex to protect blk_probes_ref.

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: <49C2F5EA.8060606@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/blktrace.c