diff options
author | Maxim Shchetynin <maxim@de.ibm.com> | 2006-02-10 19:42:58 -0500 |
---|---|---|
committer | <jejb@mulgrave.il.steeleye.com> | 2006-02-12 12:12:20 -0500 |
commit | ed829ad607a9c334cea490d3a8c0f874153fb42d (patch) | |
tree | 7abbf2eb353ee64d330ac423fe42b3524f409eec /drivers/s390/scsi/zfcp_fsf.c | |
parent | 2f8f3ed5fc566700cf45d422f4cf1624bd123d93 (diff) |
[SCSI] zfcp: fix logging during device reset
Avoid access to old fsf_requests if device reset is logged.
Signed-off-by: Maxim Shchetynin <maxim@de.ibm.com>
Signed-off-by: Andreas Herrmann <aherrman@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_fsf.c')
-rw-r--r-- | drivers/s390/scsi/zfcp_fsf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/s390/scsi/zfcp_fsf.c b/drivers/s390/scsi/zfcp_fsf.c index bd8cd4d46134..662ec571d73b 100644 --- a/drivers/s390/scsi/zfcp_fsf.c +++ b/drivers/s390/scsi/zfcp_fsf.c | |||
@@ -4211,11 +4211,11 @@ zfcp_fsf_send_fcp_command_task_handler(struct zfcp_fsf_req *fsf_req) | |||
4211 | ZFCP_LOG_DEBUG("scpnt->result =0x%x\n", scpnt->result); | 4211 | ZFCP_LOG_DEBUG("scpnt->result =0x%x\n", scpnt->result); |
4212 | 4212 | ||
4213 | if (scpnt->result != 0) | 4213 | if (scpnt->result != 0) |
4214 | zfcp_scsi_dbf_event_result("erro", 3, fsf_req->adapter, scpnt); | 4214 | zfcp_scsi_dbf_event_result("erro", 3, fsf_req->adapter, scpnt, fsf_req); |
4215 | else if (scpnt->retries > 0) | 4215 | else if (scpnt->retries > 0) |
4216 | zfcp_scsi_dbf_event_result("retr", 4, fsf_req->adapter, scpnt); | 4216 | zfcp_scsi_dbf_event_result("retr", 4, fsf_req->adapter, scpnt, fsf_req); |
4217 | else | 4217 | else |
4218 | zfcp_scsi_dbf_event_result("norm", 6, fsf_req->adapter, scpnt); | 4218 | zfcp_scsi_dbf_event_result("norm", 6, fsf_req->adapter, scpnt, fsf_req); |
4219 | 4219 | ||
4220 | /* cleanup pointer (need this especially for abort) */ | 4220 | /* cleanup pointer (need this especially for abort) */ |
4221 | scpnt->host_scribble = NULL; | 4221 | scpnt->host_scribble = NULL; |