projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6071d7e
)
[SCSI] zfcp: Fix error handling for blocked unit for send FCP command
author
Christof Schmitt
<
[email protected]
>
Fri, 18 Apr 2008 10:51:57 +0000
(12:51 +0200)
committer
James Bottomley
<
[email protected]
>
Fri, 18 Apr 2008 16:50:41 +0000
(11:50 -0500)
In the case the unit is blocked, zfcp_unit_get has not been called
yet, so the error handling path should not call zfcp_unit_put.
Signed-off-by: Christof Schmitt <
[email protected]
>
Signed-off-by: Martin Peschke <
[email protected]
>
Signed-off-by: James Bottomley <
[email protected]
>
drivers/s390/scsi/zfcp_fsf.c
patch
|
blob
|
history
diff --git
a/drivers/s390/scsi/zfcp_fsf.c
b/drivers/s390/scsi/zfcp_fsf.c
index 3211dcc595435d201095fa6f782de35c729ff2c2..7c3f02816e95c35b8ed6005c9f0c7d7fa2f9fa21 100644
(file)
--- a/
drivers/s390/scsi/zfcp_fsf.c
+++ b/
drivers/s390/scsi/zfcp_fsf.c
@@
-3562,8
+3562,8
@@
zfcp_fsf_send_fcp_command_task(struct zfcp_adapter *adapter,
send_failed:
no_fit:
failed_scsi_cmnd:
- unit_blocked:
zfcp_unit_put(unit);
+ unit_blocked:
zfcp_fsf_req_free(fsf_req);
fsf_req = NULL;
scsi_cmnd->host_scribble = NULL;