diff options
author | 2022-11-22 08:27:53 +0100 | |
---|---|---|
committer | 2022-11-22 15:58:08 -0700 | |
commit | 22c17e279a1b03bad7987e4a4192b289b890f293 (patch) | |
tree | 6aea59383cde5fb1924973488977455631dd68d8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'nvme-6.1-2022-11-18' of git://git.infradead.org/nvme into block-6.1 (diff) | |
download | wireguard-linux-22c17e279a1b03bad7987e4a4192b289b890f293.tar.xz wireguard-linux-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 <viro@zeniv.linux.org.uk>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Link: https://lore.kernel.org/r/20221122072753.426077-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions