]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[SCSI] libfc: fix ddp in fc_fcp for 0 xid
authorYi Zou <yi.zou@intel.com>
Wed, 21 Oct 2009 23:26:50 +0000 (16:26 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:00:23 +0000 (12:00 -0600)
commit5e472d077f45de4f37365171bd742f18b3ef20de
tree2a028b3baa250bfaba8aabdc3649d2ee380715cd
parent85b5893ca97c69e409ecbb5ee90a5d99882369c4
[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 <yi.zou@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libfc/fc_fcp.c