diff options
author | Christoph Hellwig <hch@lst.de> | 2021-06-02 09:53:32 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-06-11 20:53:03 +0300 |
commit | 34f84aefe2ba0a77431cc0c0808c5c0239b6ba43 (patch) | |
tree | f7c7df1425d7b2aa0e3e839b0ae1fa519a8a4308 /lib/syscall.c | |
parent | 6560ec961a080944f8d5e1fef17b771bfaf189cb (diff) | |
download | linux-34f84aefe2ba0a77431cc0c0808c5c0239b6ba43.tar.xz |
floppy: 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: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Link: https://lore.kernel.org/r/20210602065345.355274-18-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/syscall.c')
0 files changed, 0 insertions, 0 deletions