OpenCloudOS-Kernel/drivers/s390/scsi
Swen Schillig 7dec9cf1df [SCSI] zfcp: Report FC BSG errors in correct field
The status FC_CTELS_STATUS_REJECT for all FC BSG errors is not
appropriate. Instead, report -EIO in the result field if there was a
problem in zfcp with the FC BSG request. If the request is good from
our point of view, report result 0, status FC_CTELS_STATUS_OK and let
userspace read the Accept or Reject from the payload (as documented in
scsi_bsg_fc.h).

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@suse.de>
2010-02-08 13:40:17 -06:00
..
Makefile [SCSI] zfcp: consolidate sysfs things into one file. 2008-07-12 08:22:35 -05:00
zfcp_aux.c [SCSI] zfcp: Improve ELS ADISC handling 2009-12-04 12:02:16 -06:00
zfcp_ccw.c [SCSI] zfcp: Remove STATUS_COMMON_REMOVE flag as it is not required anymore 2009-12-04 12:02:07 -06:00
zfcp_cfdc.c [SCSI] zfcp: add missing compat ptr conversion 2010-01-17 12:38:49 -06:00
zfcp_dbf.c [SCSI] zfcp: Fix linebreak in hba trace 2010-01-17 12:38:47 -06:00
zfcp_dbf.h [SCSI] zfcp: Simplify handling of ct and els requests 2009-12-04 12:02:15 -06:00
zfcp_def.h [SCSI] zfcp: Remove flag ZFCP_STATUS_FSFREQ_TMFUNCNOTSUPP 2009-12-04 12:02:18 -06:00
zfcp_erp.c [SCSI] zfcp: Assign scheduled work to driver queue 2009-12-04 12:02:08 -06:00
zfcp_ext.h [SCSI] zfcp: Set hardware timeout as requested by BSG request. 2010-01-17 12:40:13 -06:00
zfcp_fc.c [SCSI] zfcp: Report FC BSG errors in correct field 2010-02-08 13:40:17 -06:00
zfcp_fc.h [SCSI] zfcp: Set hardware timeout as requested by BSG request. 2010-01-17 12:40:13 -06:00
zfcp_fsf.c [SCSI] zfcp: Set hardware timeout as requested by BSG request. 2010-01-17 12:40:13 -06:00
zfcp_fsf.h [SCSI] zfcp: Simplify handling of ct and els requests 2009-12-04 12:02:15 -06:00
zfcp_qdio.c [SCSI] zfcp: optimize zfcp_qdio_account 2009-09-05 08:49:49 -05:00
zfcp_scsi.c [SCSI] zfcp: Introduce bsg_timeout callback. 2010-01-17 12:40:12 -06:00
zfcp_sysfs.c [SCSI] zfcp: Assign scheduled work to driver queue 2009-12-04 12:02:08 -06:00