diff options
author | Christoph Hellwig <[email protected]> | 2022-07-20 15:05:40 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-07-21 10:59:02 -0600 |
commit | 0a3e5cc7bbfcd571a2e53779ef7d7aa3c57d5432 (patch) | |
tree | 3b3159f26c2fa8841002648be5d01366b09b1923 /net/lapb/lapb_subr.c | |
parent | 6d9e6dfdf3b207701471f364121c67eefb000682 (diff) |
blk-mq: fix error handling in __blk_mq_alloc_disk
To fully clean up the queue if the disk allocation fails we need to
call blk_mq_destroy_queue and not just blk_put_queue.
Fixes: 6f8191fdf41d ("block: simplify disk shutdown")
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Ming Lei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions