[SCSI] zfcp: resolve false usage of dd_data in fc_rport
commitea945ff84c2ce1089edb7914ffdd998c24c25903
authorSwen Schillig <swen@vnet.ibm.com>
Tue, 18 Aug 2009 13:43:24 +0000 (18 15:43 +0200)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 5 Sep 2009 13:49:35 +0000 (5 08:49 -0500)
treee4d47ff2b8ae9c71a6da87b8d1651c355016e9f1
parent6f53a2d2ecaefa3ffff8864f51a3ae38737e1152
[SCSI] zfcp: resolve false usage of dd_data in fc_rport

The fc_rport structure reserves a reference where a LLD can put
information required in a situation where the fc transport class is
triggering LLD callbacks. The zfcp driver was using this variable
directly which is discouraged. This patch solves this issue by making
this reference unnecessary.  In addition the dev_loss_tmo callback is
removed, it is not required: zfcp does not access the fc_rport after
calling fc_remote_port_delete.

Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/s390/scsi/zfcp_aux.c
drivers/s390/scsi/zfcp_fc.c
drivers/s390/scsi/zfcp_scsi.c