[SCSI] zfcp: prevent adapter close on initial adapter open
authorSwen Schillig <swen@vnet.ibm.com>
Mon, 2 Mar 2009 12:09:03 +0000 (13:09 +0100)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 12 Mar 2009 17:58:20 +0000 (12:58 -0500)
commitcf13c08223148e525d28f4a740f2e73518ec6abe
tree37b41246d8a6ba7b4221f129c9a446e8f71f34f4
parent21283916322f579a580e413652cdefbfa3ec676f
[SCSI] zfcp: prevent adapter close on initial adapter open

An adapter close was always performed whether it was required,
(e.g. in an error scenario) or not (e.g. initial open).
This patch is changing the process in only doing an
adapter close when it is required.

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@HansenPartnership.com>
drivers/s390/scsi/zfcp_erp.c