From: Yi Zou Date: Wed, 1 Dec 2010 00:19:20 +0000 (-0800) Subject: [SCSI] libfc: do not fc_io_compl on fsp w/o any scsi_cmnd associated X-Git-Tag: v2.6.38-rc1~27^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d889b30a9196c453120ca54323fe80acb4c27b94;p=pandora-kernel.git [SCSI] libfc: do not fc_io_compl on fsp w/o any scsi_cmnd associated Do not call fc_io_compl() on fsp w/o any scsi_cmnd, e.g., lun reset is built inside fc_fcp, not from a scsi command from queuecommnd from scsi-ml, so in in case target is buggy that is invalid flags in the FCP_RSP, as we have seen in some SAN Blaze target where all bits in flags are 0, we do not want to call io_compl on this fsp. [ Comment block added by Robert Love ] Signed-off-by: Yi Zou Signed-off-by: Robert Love Signed-off-by: James Bottomley --- Reading git-diff-tree failed