virtio_blk: replace 0 by HCTX_TYPE_DEFAULT to index blk_mq_tag_set->map
authorDongli Zhang <dongli.zhang@oracle.com>
Tue, 12 Mar 2019 01:31:56 +0000 (09:31 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 8 Apr 2019 14:08:29 +0000 (08:08 -0600)
commit9bc00750f5b6a33764918be4f80745d936c95f1a
tree21bcd45d30cd5c96f383eebd6dbb95660cb95441
parenta80f36cc64f09956686f3729bf3eb65b7abfc32e
virtio_blk: replace 0 by HCTX_TYPE_DEFAULT to index blk_mq_tag_set->map

Use HCTX_TYPE_DEFAULT instead of 0 to avoid hardcoding.

Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/virtio_blk.c