aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--block/blk-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index 89cc05d9a7a9..b84250d3019b 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -134,6 +134,7 @@ void blk_rq_init(struct request_queue *q, struct request *rq)
134 rq->cmd_len = BLK_MAX_CDB; 134 rq->cmd_len = BLK_MAX_CDB;
135 rq->tag = -1; 135 rq->tag = -1;
136 rq->ref_count = 1; 136 rq->ref_count = 1;
137 rq->start_time = jiffies;
137} 138}
138EXPORT_SYMBOL(blk_rq_init); 139EXPORT_SYMBOL(blk_rq_init);
139 140
@@ -1099,7 +1100,6 @@ void init_request_from_bio(struct request *req, struct bio *bio)
1099 req->errors = 0; 1100 req->errors = 0;
1100 req->hard_sector = req->sector = bio->bi_sector; 1101 req->hard_sector = req->sector = bio->bi_sector;
1101 req->ioprio = bio_prio(bio); 1102 req->ioprio = bio_prio(bio);
1102 req->start_time = jiffies;
1103 blk_rq_bio_prep(req->q, req, bio); 1103 blk_rq_bio_prep(req->q, req, bio);
1104} 1104}
1105 1105