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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index 1261516dd42a..2616cdd049a8 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -2026,7 +2026,6 @@ void blk_rq_bio_prep(struct request_queue *q, struct request *rq,
2026 2026
2027 if (bio_has_data(bio)) { 2027 if (bio_has_data(bio)) {
2028 rq->nr_phys_segments = bio_phys_segments(q, bio); 2028 rq->nr_phys_segments = bio_phys_segments(q, bio);
2029 rq->nr_hw_segments = bio_hw_segments(q, bio);
2030 rq->buffer = bio_data(bio); 2029 rq->buffer = bio_data(bio);
2031 } 2030 }
2032 rq->current_nr_sectors = bio_cur_sectors(bio); 2031 rq->current_nr_sectors = bio_cur_sectors(bio);