]> Git Repo - linux.git/commit
nbd: use blk_mq_alloc_disk and blk_cleanup_disk
authorChristoph Hellwig <[email protected]>
Wed, 2 Jun 2021 06:53:34 +0000 (09:53 +0300)
committerJens Axboe <[email protected]>
Fri, 11 Jun 2021 17:53:03 +0000 (11:53 -0600)
commit4af5f2e0301311f88c420fcfc5f3c8611ade20ac
tree299c856b46e07324c3213205ef2e6bfd64fd061a
parent1c99502fae359182a93a1c9cf7406edc0e28b6b0
nbd: 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 <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
drivers/block/nbd.c
This page took 0.052666 seconds and 4 git commands to generate.