blktrace: make blk_tracer_enabled a bool flag
authorLi Zefan <lizf@cn.fujitsu.com>
Fri, 20 Mar 2009 01:48:03 +0000 (09:48 +0800)
committerIngo Molnar <mingo@elte.hu>
Sat, 21 Mar 2009 15:16:13 +0000 (16:16 +0100)
commit5006ea73f38caef6065d1136808413813271633f
tree296d4f15e625303cdd111f29d990cef3c3be85c5
parent1a17662ea033674a58bad3603531b0b5d42572f6
blktrace: make blk_tracer_enabled a bool flag

It doesn't have to be a counter, and it can be a bool flag instead.

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