diff options
author | Christoph Hellwig <hch@lst.de> | 2022-11-22 10:27:53 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-11-23 01:58:08 +0300 |
commit | 22c17e279a1b03bad7987e4a4192b289b890f293 (patch) | |
tree | 6aea59383cde5fb1924973488977455631dd68d8 /include/net/bareudp.h | |
parent | 5c59789ce7ce994e1d9db1973a21f15481bd8513 (diff) | |
download | linux-22c17e279a1b03bad7987e4a4192b289b890f293.tar.xz |
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 'include/net/bareudp.h')
0 files changed, 0 insertions, 0 deletions