scsi: csiostor: Don't enable IRQs too early
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 19 Oct 2019 08:59:13 +0000 (11:59 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 4 Jan 2020 18:16:47 +0000 (19:16 +0100)
commite98014e8d3be09470f270e69dc38e3dcb55752e4
treeae499ade835c415ede615b51328684db04cb97f0
parent00b111173ee81c9ffc6e9871a4adb5a047cefeb1
scsi: csiostor: Don't enable IRQs too early

[ Upstream commit d6c9b31ac3064fbedf8961f120a4c117daa59932 ]

These are called with IRQs disabled from csio_mgmt_tmo_handler() so we
can't call spin_unlock_irq() or it will enable IRQs prematurely.

Fixes: a3667aaed569 ("[SCSI] csiostor: Chelsio FCoE offload driver")
Link: https://lore.kernel.org/r/20191019085913.GA14245@mwanda
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/csiostor/csio_lnode.c