From: Swen Schillig Date: Tue, 26 Jan 2010 16:49:19 +0000 (+0100) Subject: [SCSI] zfcp: Report FC BSG errors in correct field X-Git-Tag: v2.6.33-rc8~12^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7dec9cf1dfa283feca4b761160112ea4838a6a8c;p=pandora-kernel.git [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 Signed-off-by: Christof Schmitt Signed-off-by: James Bottomley --- Reading git-diff-tree failed