diff options
author | Alan D. Brunelle <Alan.Brunelle@hp.com> | 2009-05-04 16:35:08 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-05-06 08:13:01 -0400 |
commit | 22a7c31a9659deaddafbbcec6562d44141e84474 (patch) | |
tree | 0fe1c64e82d673597c78c6ce5f3569d9101b5281 /drivers/md/dm.c | |
parent | a42aaa3bbce85ac487ad4fad5db99e8e91b7aac1 (diff) |
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/dm.c')
-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 8a994be035ba..b01514afb6b5 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, | |||
657 | /* the bio has been remapped so dispatch it */ | 657 | /* the bio has been remapped so dispatch it */ |
658 | 658 | ||
659 | trace_block_remap(bdev_get_queue(clone->bi_bdev), clone, | 659 | trace_block_remap(bdev_get_queue(clone->bi_bdev), clone, |
660 | tio->io->bio->bi_bdev->bd_dev, | 660 | tio->io->bio->bi_bdev->bd_dev, sector); |
661 | clone->bi_sector, sector); | ||
662 | 661 | ||
663 | generic_make_request(clone); | 662 | generic_make_request(clone); |
664 | } else if (r < 0 || r == DM_MAPIO_REQUEUE) { | 663 | } else if (r < 0 || r == DM_MAPIO_REQUEUE) { |