kernel-hacking-2024-linux-s.../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
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
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
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
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
zfcp_qdio.c
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