diff options
| author | Christoph Hellwig <[email protected]> | 2022-11-22 07:27:53 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-11-22 22:58:08 +0000 |
| commit | 22c17e279a1b03bad7987e4a4192b289b890f293 (patch) | |
| tree | 6aea59383cde5fb1924973488977455631dd68d8 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | Merge tag 'nvme-6.1-2022-11-18' of git://git.infradead.org/nvme into block-6.1 (diff) | |
| download | kernel-22c17e279a1b03bad7987e4a4192b289b890f293.tar.gz kernel-22c17e279a1b03bad7987e4a4192b289b890f293.zip | |
blk-mq: fix queue reference leak on blk_mq_alloc_disk_for_queue failure
Drop the request queue reference just acquired when __alloc_disk_node
failed.
Fixes: 6f8191fdf41d ("block: simplify disk shutdown")
Reported-by: Al Viro <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
