diff options
Diffstat (limited to 'drivers/block/virtio_blk.c')
-rw-r--r-- | drivers/block/virtio_blk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index 13756e016797..83816bf6882f 100644 --- a/drivers/block/virtio_blk.c +++ b/drivers/block/virtio_blk.c | |||
@@ -205,6 +205,8 @@ static int virtio_queue_rq(struct blk_mq_hw_ctx *hctx, struct request *req, | |||
205 | } | 205 | } |
206 | } | 206 | } |
207 | 207 | ||
208 | blk_mq_start_request(req); | ||
209 | |||
208 | num = blk_rq_map_sg(hctx->queue, vbr->req, vbr->sg); | 210 | num = blk_rq_map_sg(hctx->queue, vbr->req, vbr->sg); |
209 | if (num) { | 211 | if (num) { |
210 | if (rq_data_dir(vbr->req) == WRITE) | 212 | if (rq_data_dir(vbr->req) == WRITE) |