]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: release ida resources
authorMax Gurtovoy <maxg@mellanox.com>
Wed, 18 Mar 2020 15:27:59 +0000 (17:27 +0200)
committerKeith Busch <kbusch@kernel.org>
Wed, 25 Mar 2020 19:51:55 +0000 (04:51 +0900)
commit956b3949de67fbb7b871117315d6f1b5769a54ed
tree67da0062639c37c5f0dedd7bdd05fdf018e80cd5
parentd307df8b0e5b6353496bf03be9079b27908149b0
nvme: release ida resources

ida instances allocate some internal memory in addition to the base
'struct ida'. Use ida_destroy() to release that memory at module_exit().

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/core.c