scsi: lpfc: Add missing unlock in WQ full logic
authorJames Smart <jsmart2021@gmail.com>
Sat, 10 Mar 2018 18:28:48 +0000 (10:28 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Mar 2018 01:55:23 +0000 (21:55 -0400)
commit917d59ac5e26a45dce8b00d38bb0a338a7f22f23
tree2380050d7511a4a8c72c41785f044882c84c1423
parent8b1bb6dcba76b0fceffff77a25e990f30b10d139
scsi: lpfc: Add missing unlock in WQ full logic

Commit 6e8e1c14c61e ("scsi: lpfc: Add WQ Full Logic for NVME Target") fails
the static checker. Checker correctly identified a missing unlock on a
return path.

Add the unlock.

Fixes: 6e8e1c14c61e ("scsi: lpfc: Add WQ Full Logic for NVME Target")
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_nvmet.c