]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
scsi: lpfc: spin_lock_irq() is not nestable
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 30 Jun 2017 08:02:51 +0000 (11:02 +0300)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 1 Jul 2017 21:08:41 +0000 (17:08 -0400)
commitc4031db72b4fd2640ff3a7240701397abaacf048
tree951c445b0cbb5f59d0a4f8baed380290fc1e3eb0
parentf557e32c0023ea0d67cdaa81b3398550dc1e4876
scsi: lpfc: spin_lock_irq() is not nestable

We're calling spin_lock_irq() multiple times, the problem is that on the
first spin_unlock_irq() then we will re-enable IRQs and we don't want
that.

Fixes: 966bb5b71196 ("scsi: lpfc: Break up IO ctx list into a separate get and put list")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_nvmet.c