diff options
author | Christoph Hellwig <hch@lst.de> | 2021-06-02 08:53:38 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-06-11 19:54:42 +0200 |
commit | 2c6ee0ae5fc7aed7b3309e725104ea60da2cc9c9 (patch) | |
tree | f3fe6e000b300f64b5bd3712530d3b75300e9db8 /drivers/block/sx8.c | |
parent | rbd: use blk_mq_alloc_disk and blk_cleanup_disk (diff) | |
download | linux-2c6ee0ae5fc7aed7b3309e725104ea60da2cc9c9.tar.xz linux-2c6ee0ae5fc7aed7b3309e725104ea60da2cc9c9.zip |
rnbd: use blk_mq_alloc_disk and blk_cleanup_disk
Use blk_mq_alloc_disk and blk_cleanup_disk to simplify the gendisk and
request_queue allocation.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jack Wang <jinpu.wang@ionos.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Link: https://lore.kernel.org/r/20210602065345.355274-24-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/sx8.c')
0 files changed, 0 insertions, 0 deletions