diff options
author | Ming Lei <ming.lei@redhat.com> | 2022-07-18 18:08:51 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-07-18 21:12:11 +0200 |
commit | bf14fad19ffbb3d37a1bb1324f966973e7d4a7b6 (patch) | |
tree | 0bcb3d952a00800e6fde5f26a91231bc40d219eb /block | |
parent | ublk_drv: fix an IS_ERR() vs NULL check (diff) | |
download | linux-bf14fad19ffbb3d37a1bb1324f966973e7d4a7b6.tar.xz 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