lkml.org 
[lkml]   [2009]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[tip:tracing/core] blktrace: from-sector redundant in trace_block_remap, cleanup
Commit-ID:  79c5d3ce614d8fe706545c7bca2158b63db6bb5e
Gitweb: http://git.kernel.org/tip/79c5d3ce614d8fe706545c7bca2158b63db6bb5e
Author: Li Zefan <lizf@cn.fujitsu.com>
AuthorDate: Mon, 11 May 2009 15:06:46 +0800
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Mon, 11 May 2009 13:30:24 +0200

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>


---
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 8ac945b..5b12efa 100644
--- a/include/trace/block.h
+++ b/include/trace/block.h
@@ -70,7 +70,7 @@ DECLARE_TRACE(block_split,

DECLARE_TRACE(block_remap,
TP_PROTO(struct request_queue *q, struct bio *bio, dev_t dev,
- sector_t to),
- TP_ARGS(q, bio, dev, to));
+ sector_t from),
+ TP_ARGS(q, bio, dev, from));

#endif

\
 
 \ /
  Last update: 2009-05-11 13:37    [W:0.055 / U:6.516 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site