aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
Diffstat (limited to 'block')
-rw-r--r--block/blk-core.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index 07ab75403e1a..a5f747a8312e 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -1275,7 +1275,7 @@ static inline void blk_partition_remap(struct bio *bio)
1275 bio->bi_bdev = bdev->bd_contains; 1275 bio->bi_bdev = bdev->bd_contains;
1276 1276
1277 trace_block_remap(bdev_get_queue(bio->bi_bdev), bio, 1277 trace_block_remap(bdev_get_queue(bio->bi_bdev), bio,
1278 bdev->bd_dev, bio->bi_sector, 1278 bdev->bd_dev,
1279 bio->bi_sector - p->start_sect); 1279 bio->bi_sector - p->start_sect);
1280 } 1280 }
1281} 1281}
@@ -1444,8 +1444,7 @@ static inline void __generic_make_request(struct bio *bio)
1444 goto end_io; 1444 goto end_io;
1445 1445
1446 if (old_sector != -1) 1446 if (old_sector != -1)
1447 trace_block_remap(q, bio, old_dev, bio->bi_sector, 1447 trace_block_remap(q, bio, old_dev, old_sector);
1448 old_sector);
1449 1448
1450 trace_block_bio_queue(q, bio); 1449 trace_block_bio_queue(q, bio);
1451 1450