]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
nvme-multipath: put module reference when delayed removal work is canceled
authorJohn Garry <john.g.garry@oracle.com>
Wed, 15 Apr 2026 15:53:58 +0000 (15:53 +0000)
committerKeith Busch <kbusch@kernel.org>
Thu, 16 Apr 2026 22:08:38 +0000 (15:08 -0700)
commit3f150f0f010f234f34a67897344f18e68fe803f7
tree660c60434c6883c09f3115e63c04e011c13bc964
parent20925812de7bf5e6fdc133c691ef52b33f700fbc
nvme-multipath: put module reference when delayed removal work is canceled

The delayed disk removal work is canceled when a NS (re)appears. However,
we do not put the module reference grabbed in nvme_mpath_remove_disk(), so
fix that.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Nilay Shroff <nilay@linux.ibm.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: John Garry <john.g.garry@oracle.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/core.c