null_blk: use blk_mq_init_queue_data
Use the new blk_mq_init_queue_data instead of open coding the queue allocation and initialization. Reviewed-by: NJohannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NJens Axboe <axboe@kernel.dk>
Showing
想要评论请 注册 或 登录