diff options
author | Martin Petermann <martin@linux.vnet.ibm.com> | 2009-03-02 07:09:09 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-03-12 13:58:22 -0400 |
commit | 2cb5b2ca6dddcdfb0e220f18b4612890a23a1c92 (patch) | |
tree | b5c6e419e6310f3badb2a0038a69fedda05e83a8 /drivers/s390 | |
parent | a2fa0aede07c9488239dcac1eae58233181c355a (diff) |
[SCSI] zfcp: erp failed status bit will not be set
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>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/scsi/zfcp_scsi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/s390/scsi/zfcp_scsi.c b/drivers/s390/scsi/zfcp_scsi.c index 7141f9a675df..58201e1ae478 100644 --- a/drivers/s390/scsi/zfcp_scsi.c +++ b/drivers/s390/scsi/zfcp_scsi.c | |||
@@ -28,7 +28,6 @@ static void zfcp_scsi_slave_destroy(struct scsi_device *sdpnt) | |||
28 | { | 28 | { |
29 | struct zfcp_unit *unit = (struct zfcp_unit *) sdpnt->hostdata; | 29 | struct zfcp_unit *unit = (struct zfcp_unit *) sdpnt->hostdata; |
30 | unit->device = NULL; | 30 | unit->device = NULL; |
31 | zfcp_erp_unit_failed(unit, "scslvd1", NULL); | ||
32 | zfcp_unit_put(unit); | 31 | zfcp_unit_put(unit); |
33 | } | 32 | } |
34 | 33 | ||