[PATCH 1/5] nvme-fc: don't hold rport lock when putting ctrl
Christoph Hellwig
hch at lst.de
Wed Oct 29 01:51:27 PDT 2025
On Tue, Oct 28, 2025 at 04:26:20PM +0100, Daniel Wagner wrote:
> nvme_fc_ctrl_put can acquire the rport lock when freeing the
> ctrl object:
>
> nvme_fc_ctrl_put
> nvme_fc_ctrl_free
> spin_lock_irqsave(rport->lock)
>
> Thus we can't hold the rport lock when calling nvme_fc_ctrl_put.
>
> Signed-off-by: Daniel Wagner <wagi at kernel.org>
Looks good:
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the Linux-nvme
mailing list