diff options
author | Christoph Hellwig <[email protected]> | 2022-11-22 08:27:53 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-11-22 15:58:08 -0700 |
commit | 22c17e279a1b03bad7987e4a4192b289b890f293 (patch) | |
tree | 6aea59383cde5fb1924973488977455631dd68d8 /net/unix/unix_bpf.c | |
parent | 5c59789ce7ce994e1d9db1973a21f15481bd8513 (diff) |
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 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions