[SCSI] zfcp: Fix error handling for blocked unit for send FCP command
authorChristof Schmitt <christof.schmitt@de.ibm.com>
Fri, 18 Apr 2008 10:51:57 +0000 (12:51 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 18 Apr 2008 16:50:41 +0000 (11:50 -0500)
commit57b7658aed76f1763416878ead9be4ffa288b7a3
treedb71d536ac49b2bd63e43d1fc840f33e909fac7e
parent6071d7ec36054e78f02f7d5a66c3784aeb65ce92
[SCSI] zfcp: Fix error handling for blocked unit for send FCP command

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 <christof.schmitt@de.ibm.com>
Signed-off-by: Martin Peschke <mp3@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/s390/scsi/zfcp_fsf.c