diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-03-18 15:08:43 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-03-18 15:08:43 +0100 |
commit | 6ce59025f1182125e75c8d121daf44056b65dd1f (patch) | |
tree | 05822c7af83a5e388722c9d448ba303285b3927e /Documentation/powerpc | |
parent | Linux 5.1-rc1 (diff) | |
download | linux-6ce59025f1182125e75c8d121daf44056b65dd1f.tar.xz linux-6ce59025f1182125e75c8d121daf44056b65dd1f.zip |
paride/pf: 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 'Documentation/powerpc')
0 files changed, 0 insertions, 0 deletions