[SCSI] zfcp: fix: problem in send_els_handler when D_ID assignment changes
authorAndreas Herrmann <aherrman@de.ibm.com>
Mon, 13 Jun 2005 11:18:56 +0000 (13:18 +0200)
committerJames Bottomley <jejb@mulgrave.(none)>
Tue, 14 Jun 2005 02:30:05 +0000 (21:30 -0500)
commit64b29a130901d5b8578e9f602cf2dae56aaff224
treefb543d8a7c007416d99128246d4e71580ecd94ff
parent516a4201bacfd61ea957039d6f47276ee9c32a0d
[SCSI] zfcp: fix: problem in send_els_handler when D_ID assignment changes

From: Maxim Shchetynin <maxim@de.ibm.com>

Fixes a bug in zfcp_send_els_handler.  If D_ID assignments for ports
are changing between initiation of one ELS request and its completion
the wrong port might be accessed in the completion for that ELS
request. Thus a pointer to the port has to be passed for ELS requests
to identify the port structure if required.

Signed-off-by: Andreas Herrmann <aherrman@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/s390/scsi/zfcp_def.h
drivers/s390/scsi/zfcp_erp.c
drivers/s390/scsi/zfcp_fsf.c