diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-05-11 03:06:46 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-05-11 07:30:24 -0400 |
commit | 79c5d3ce614d8fe706545c7bca2158b63db6bb5e (patch) | |
tree | 73789d345a758063eb2d1810d9d70b1cb2a4b130 /include/trace | |
parent | 049862579333cc6cd9e6edfd6987cd0addfd8c59 (diff) |
blktrace: from-sector redundant in trace_block_remap, cleanup
The last argument of block_remap prober is the original sector
before remap, so it should be 'from', not 'to'.
[ Impact: clean up ]
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: "Alan D. Brunelle" <Alan.Brunelle@hp.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
LKML-Reference: <4A07CE86.5090301@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/block.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/trace/block.h b/include/trace/block.h index 8ac945b7746e..5b12efa096b6 100644 --- a/include/trace/block.h +++ b/include/trace/block.h | |||
@@ -70,7 +70,7 @@ DECLARE_TRACE(block_split, | |||
70 | 70 | ||
71 | DECLARE_TRACE(block_remap, | 71 | DECLARE_TRACE(block_remap, |
72 | TP_PROTO(struct request_queue *q, struct bio *bio, dev_t dev, | 72 | TP_PROTO(struct request_queue *q, struct bio *bio, dev_t dev, |
73 | sector_t to), | 73 | sector_t from), |
74 | TP_ARGS(q, bio, dev, to)); | 74 | TP_ARGS(q, bio, dev, from)); |
75 | 75 | ||
76 | #endif | 76 | #endif |