android_kernel_xiaomi_sm8350/drivers/s390/scsi
Swen Schillig f7a65e92e4 [SCSI] zfcp: prevent double decrement on host_busy while being busy
The zfcp_scsi_queuecommand was not acting according to the standard
when the respective unit was not available. In this case an -EBUSY was
returned, which is not valid in itself, and in addition scsi_done
was called. This combination is not allowed and was leading to a
double finish of the request and therefor double decrement of the
host_busy counter.

Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-12-01 10:18:20 -06:00
..
Makefile [SCSI] zfcp: consolidate sysfs things into one file. 2008-07-12 08:22:35 -05:00
zfcp_aux.c [SCSI] zfcp: Fix cast warning 2008-11-05 12:47:03 -05:00
zfcp_ccw.c [SCSI] zfcp: Wait for port scan to complete when setting adapter online 2008-11-05 12:47:19 -05:00
zfcp_cfdc.c [SCSI] zfcp: Move CFDC code to new file. 2008-07-12 08:22:25 -05:00
zfcp_dbf.c [SCSI] zfcp: Fix hexdump data in s390dbf traces 2008-11-05 12:47:55 -05:00
zfcp_dbf.h [SCSI] zfcp: Fix hexdump data in s390dbf traces 2008-11-05 12:47:55 -05:00
zfcp_def.h blktrace: pass zfcp driver data 2008-10-17 08:46:57 +02:00
zfcp_erp.c [SCSI] zfcp: fix deadlock between wq triggered port scan and ERP 2008-12-01 10:18:04 -06:00
zfcp_ext.h [SCSI] zfcp: put threshold data in hba trace 2008-10-03 12:11:55 -05:00
zfcp_fc.c [SCSI] zfcp: fix deadlock between wq triggered port scan and ERP 2008-12-01 10:18:04 -06:00
zfcp_fsf.c [SCSI] zfcp: eliminate race between validation and locking 2008-12-01 10:17:50 -06:00
zfcp_fsf.h blktrace: pass zfcp driver data 2008-10-17 08:46:57 +02:00
zfcp_qdio.c blktrace: pass zfcp driver data 2008-10-17 08:46:57 +02:00
zfcp_scsi.c [SCSI] zfcp: prevent double decrement on host_busy while being busy 2008-12-01 10:18:20 -06:00
zfcp_sysfs.c [S390] more bus_id -> dev_name conversions 2008-10-10 21:33:50 +02:00