Skip to content
Commit bf14fad1 authored by Ming Lei's avatar Ming Lei Committed by Jens Axboe
Browse files

mmc: fix disk/queue leak in case of adding disk failure



In case of adding disk failure, the disk needs to be released, otherwise
disk/queue is leaked.

Signed-off-by: default avatarMing Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20220718160851.312972-1-ming.lei@redhat.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent fe3333f6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment