aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/blk-core.c')
-rw-r--r--block/blk-core.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index 2358fc5de5a4..e9754dc98ec4 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -1219,10 +1219,6 @@ static inline void blk_partition_remap(struct bio *bio)
1219 1219
1220 if (bio_sectors(bio) && bdev != bdev->bd_contains) { 1220 if (bio_sectors(bio) && bdev != bdev->bd_contains) {
1221 struct hd_struct *p = bdev->bd_part; 1221 struct hd_struct *p = bdev->bd_part;
1222 const int rw = bio_data_dir(bio);
1223
1224 p->sectors[rw] += bio_sectors(bio);
1225 p->ios[rw]++;
1226 1222
1227 bio->bi_sector += p->start_sect; 1223 bio->bi_sector += p->start_sect;
1228 bio->bi_bdev = bdev->bd_contains; 1224 bio->bi_bdev = bdev->bd_contains;