virtio_blk: use blk_rq_map_kern
authorChristoph Hellwig <hch@lst.de>
Tue, 19 Jul 2016 09:31:49 +0000 (11:31 +0200)
committerJens Axboe <axboe@fb.com>
Wed, 20 Jul 2016 23:38:29 +0000 (17:38 -0600)
commitf9596695bee6a88d17118ee9f2f826f96b826644
tree95375f2d42332471400ac5ce73343e50aad016ef
parent4eef39c90665fe73689b176dcd8cdff4a9a91274
virtio_blk: use blk_rq_map_kern

Similar to how SCSI and NVMe prepare passthrough requests.  This avoids
poking into request internals too much.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/virtio_blk.c