scsi: lpfc: Set elsiocb contexts to NULL after freeing it
authorJohannes Thumshirn <jthumshirn@suse.de>
Tue, 10 Jan 2017 11:05:54 +0000 (12:05 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 17 Jan 2017 19:14:32 +0000 (14:14 -0500)
commit8667f515952feefebb3c0f8d9a9266c91b101a46
tree5df38c9df76c2f236733ad13eddf068fdb61dffd
parent68af412c7713b55c01ffc4312320abd10ca70e77
scsi: lpfc: Set elsiocb contexts to NULL after freeing it

Set the elsiocb contexts to NULL after freeing as others depend on it.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Acked-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_els.c