diff options
author | Alan D. Brunelle <Alan.Brunelle@hp.com> | 2009-05-04 20:35:08 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-05-06 12:13:01 (GMT) |
commit | 22a7c31a9659deaddafbbcec6562d44141e84474 (patch) | |
tree | 0fe1c64e82d673597c78c6ce5f3569d9101b5281 /drivers/md | |
parent | a42aaa3bbce85ac487ad4fad5db99e8e91b7aac1 (diff) | |
download | linux-22a7c31a9659deaddafbbcec6562d44141e84474.tar.xz |
blktrace: from-sector redundant in trace_block_remap
Remove redundant from-sector parameter: it's /always/ the bio's sector
passed in.
[ Impact: cleanup ]
Signed-off-by: Alan D. Brunelle <alan.brunelle@hp.com>
Reviewed-by: Li Zefan <lizf@cn.fujitsu.com>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <49FF517C.7000503@hp.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/dm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 8a994be..b01514a 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -657,8 +657,7 @@ static void __map_bio(struct dm_target *ti, struct bio *clone, /* the bio has been remapped so dispatch it */ trace_block_remap(bdev_get_queue(clone->bi_bdev), clone, - tio->io->bio->bi_bdev->bd_dev, - clone->bi_sector, sector); + tio->io->bio->bi_bdev->bd_dev, sector); generic_make_request(clone); } else if (r < 0 || r == DM_MAPIO_REQUEUE) { |