lpfc: call lpfc_sli_validate_fcp_iocb() with the hbalock held
authorJohannes Thumshirn <jthumshirn@suse.de>
Mon, 18 Jul 2016 14:06:03 +0000 (16:06 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 20 Jul 2016 23:45:35 +0000 (19:45 -0400)
commit31979008fdae72d7441643f3a5b1bdaedf481335
treebaa9bddc227c9e608dce58edca20aff427ebcd04
parentfcbefc3b2bfb4dd1a230b3082b68bc7cf7c081e7
lpfc: call lpfc_sli_validate_fcp_iocb() with the hbalock held

Call lpfc_sli_validate_fcp_iocb() with the hbalock held, as the pointer
to iocbq is not guaranteed to still be valid after looking it up.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Laurence Oberman <loberman@redhat.com>
Acked-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_sli.c