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 12:40:40 +0000 (13:40 +0100)
commit6e566fd91d28fb1dfeee6c4be2051d377580a2e6
tree7eae8218358a172a617c7bc4edd36f5b925e55fb
parent81dd848f14d852986c15859c8671778b485c3e10
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