diff options
author | Swen Schillig <swen@vnet.ibm.com> | 2010-01-26 17:49:19 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-02-08 20:40:17 +0100 |
commit | 7dec9cf1dfa283feca4b761160112ea4838a6a8c (patch) | |
tree | cf61e7ea19d4b34bfccf68b983b935e497a93676 /kernel/mutex-debug.c | |
parent | [SCSI] mptfusion : mptscsih_abort return value should be SUCCESS instead of v... (diff) | |
download | linux-7dec9cf1dfa283feca4b761160112ea4838a6a8c.tar.xz linux-7dec9cf1dfa283feca4b761160112ea4838a6a8c.zip |
[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>
Diffstat (limited to 'kernel/mutex-debug.c')
0 files changed, 0 insertions, 0 deletions