diff options
author | 2019-04-19 16:35:44 -0400 | |
---|---|---|
committer | 2019-05-29 14:33:04 -0600 | |
commit | 41de54c64811bf087c8464fdeb43c6ad8be2686b (patch) | |
tree | a489bff9589f120fe7bf570168ce014d76f034e9 /block/partitions/ldm.c | |
parent | block: don't protect generic_make_request_checks with blk_queue_enter (diff) | |
download | linux-dev-41de54c64811bf087c8464fdeb43c6ad8be2686b.tar.xz linux-dev-41de54c64811bf087c8464fdeb43c6ad8be2686b.zip |
blk-mq: Fix memory leak in error handling
If blk_mq_init_allocated_queue() fails, make sure to free the poll
stat callback struct allocated.
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions