[SCSI] zfcp: Fix invalid command order
authorSwen Schillig <swen@vnet.ibm.com>
Mon, 13 Jul 2009 13:06:02 +0000 (15:06 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 30 Jul 2009 13:49:54 +0000 (08:49 -0500)
commitdfb3cf00e402686f671db697adbd8b9f4c219268
treef6258a74a9c2d350cb309670f0043eae4f718329
parent5381837f125cc62ad703fbcdfcd7566fc81fd404
[SCSI] zfcp: Fix invalid command order

We should not modify the port status after triggering an ERP action
for the port. It is not guaranteed which status is finally active
when the ERP action is performed. This can lead to situations which
are unwanted and hard to debug in case of a failure.

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_fsf.c