]> 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)
commit53a8160b2c0b0dccf283466e95abb73bdc032fc5
tree31686560ba7189db3f003bea00bb8c93f1c13304
parent28f8944b38836b740c1ab50c69724abc0c5ce398
scsi: lpfc: double lock typo in lpfc_ns_rsp()

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

Fixes: 0660207f9274 ("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