diff options
author | Christoph Hellwig <hch@lst.de> | 2021-06-02 09:53:29 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-06-11 11:53:03 -0600 |
commit | 0592c3d166c967056faa03b944c6c9c9b4e8a0cc (patch) | |
tree | 31c1006c85b711ba9c965f810c727e44abac35b0 /block/blk-mq.c | |
parent | afea05a18d18673750bad33f7aa710ff71a78e91 (diff) | |
download | linux-0592c3d166c967056faa03b944c6c9c9b4e8a0cc.tar.gz linux-0592c3d166c967056faa03b944c6c9c9b4e8a0cc.tar.bz2 linux-0592c3d166c967056faa03b944c6c9c9b4e8a0cc.zip |
gdrom: use blk_mq_alloc_disk
Use the blk_mq_alloc_disk API to simplify the gendisk and request_queue
allocation.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Link: https://lore.kernel.org/r/20210602065345.355274-15-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq.c')
0 files changed, 0 insertions, 0 deletions