diff options
author | Ming Lei <ming.lei@redhat.com> | 2022-07-19 00:08:51 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-07-18 13:12:11 -0600 |
commit | bf14fad19ffbb3d37a1bb1324f966973e7d4a7b6 (patch) | |
tree | 0bcb3d952a00800e6fde5f26a91231bc40d219eb /block | |
parent | fe3333f6953848f1c24e91a1cf70eed026dc3a86 (diff) | |
download | linux-bf14fad19ffbb3d37a1bb1324f966973e7d4a7b6.tar.gz linux-bf14fad19ffbb3d37a1bb1324f966973e7d4a7b6.tar.bz2 linux-bf14fad19ffbb3d37a1bb1324f966973e7d4a7b6.zip |
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: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20220718160851.312972-1-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions