]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: double lock typo in lpfc_ns_rsp()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 3 May 2017 21:22:16 +0000 (00:22 +0300)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 9 May 2017 01:50:16 +0000 (21:50 -0400)
commit55d8e4119fa39b0572d31856c325adfaf4c75095
tree31686560ba7189db3f003bea00bb8c93f1c13304
parent779eaf29566214b22137619dd817b16a4d122648
scsi: lpfc: double lock typo in lpfc_ns_rsp()

There is a double lock bug here so this will deadlock instead of
unlocking.

Fixes: c852a76bba87 ("Fix implicit logo and RSCN handling for NVMET")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_ct.c