summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorDaniel Wagner <wagi@kernel.org>2025-10-30 11:05:45 +0100
committerKeith Busch <kbusch@kernel.org>2025-12-01 13:45:57 -0800
commitb71cbcf7d170e51148d5467820ae8a72febcb651 (patch)
tree5ae38cb0a3d0f15ca7b6f175beae5af95aba8801 /rust/helpers/helpers.c
parent78723fe309f189ee4010d5b7a55f6a14644a40c2 (diff)
nvme-fc: don't hold rport lock when putting ctrl
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. Justin suggested use the safe list iterator variant because nvme_fc_ctrl_put will also modify the rport->list. Cc: Justin Tee <justin.tee@broadcom.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Daniel Wagner <wagi@kernel.org> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions