]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[SCSI] zfcp: erp failed status bit will not be set
authorMartin Petermann <martin@linux.vnet.ibm.com>
Mon, 2 Mar 2009 12:09:09 +0000 (13:09 +0100)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 12 Mar 2009 17:58:22 +0000 (12:58 -0500)
It will not be necessary to set the erp failed status bit
in case a SCSI device is removed by the SCSI mid layer.
In the case a SCSI device is unavailable for a short time
(15 to 20 seconds) a FCP unit will not get on-line again.

Signed-off-by: Martin Petermann <martin@linux.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_scsi.c

index 7141f9a675dff91e001e43ad6eee7d6ac52ceb77..58201e1ae47834a644068e7c64151e7cc77096af 100644 (file)
@@ -28,7 +28,6 @@ static void zfcp_scsi_slave_destroy(struct scsi_device *sdpnt)
 {
        struct zfcp_unit *unit = (struct zfcp_unit *) sdpnt->hostdata;
        unit->device = NULL;
-       zfcp_erp_unit_failed(unit, "scslvd1", NULL);
        zfcp_unit_put(unit);
 }