From: Yi Zou Date: Wed, 21 Oct 2009 23:26:50 +0000 (-0700) Subject: [SCSI] libfc: fix ddp in fc_fcp for 0 xid X-Git-Tag: v2.6.33-rc1~344^2~161 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e472d077f45de4f37365171bd742f18b3ef20de;p=pandora-kernel.git [SCSI] libfc: fix ddp in fc_fcp for 0 xid xid 0 was used as an indication of invalid xid before but now xid 0 can be used as a valid exchange i. This patch fixes the ddp completion in fcp layer, i.e., in fc_fcp.c:fc_fcp_ddp_done() function, to make sure it does not use xid 0 for indication of an invalid xid, instead, it now uses use FC_XID_UNKNOWN for such indication. Signed-off-by: Yi Zou Signed-off-by: Robert Love Signed-off-by: James Bottomley --- Reading git-diff-tree failed