]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit890c5080d3e09dee81f0c1f4511ab98039c7badd
treedb71d536ac49b2bd63e43d1fc840f33e909fac7e
parentc0268290d554d9f410e08fff44d7ad0b87e50507
[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