mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
nvme-multipath: fix leak on try_module_get failure
[ Upstream commit0f5197ea9a] We need to fall back to the synchronous removal if we can't get a reference on the module needed for the deferred removal. Fixes:62188639ec("nvme-multipath: introduce delayed removal of the multipath head node") Reviewed-by: Nilay Shroff <nilay@linux.ibm.com> Reviewed-by: John Garry <john.g.garry@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
79cc5a4c31
commit
3d8f35e182
1 changed files with 5 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue