scsi: lpfc: correct rcu unlock issue in lpfc_nvme_info_show
authorJames Smart <jsmart2021@gmail.com>
Tue, 7 May 2019 00:26:48 +0000 (17:26 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 14 May 2019 00:32:50 +0000 (20:32 -0400)
commit79080d349f7f58a2e86c56043a3d04184d5f294a
treef1cff4a783341c563094335b31ab8adaa57ddd54
parente2a8be5696e706a2fce6edd11e5c74ce14cffec0
scsi: lpfc: correct rcu unlock issue in lpfc_nvme_info_show

Many of the exit cases were not releasing the rcu read lock.  Corrected the
exit paths.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Tested-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_attr.c