summaryrefslogtreecommitdiff
path: root/block/blk-mq.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-03-18 08:10:32 -0600
committerJens Axboe <axboe@kernel.dk>2019-03-18 08:10:32 -0600
commit81b74ac68c28fddb3589ad5d4d5e587baf4bb781 (patch)
tree79c66628783124bbb51cd4815801080f0fffaa09 /block/blk-mq.c
parent6ce59025f1182125e75c8d121daf44056b65dd1f (diff)
paride/pcd: cleanup queues when detection fails
The driver allocates queues for all the units it potentially supports. But if we fail to detect any drives, then we fail loading the module without cleaning up those queues. This is now evident with the switch to blk-mq, though the bug has been there forever as far as I can tell. Also fix cleanup through regular module exit. Reported-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq.c')
0 files changed, 0 insertions, 0 deletions