diff options
author | Yi Zou <yi.zou@intel.com> | 2011-01-29 01:03:15 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-02-12 17:56:53 +0100 |
commit | f56635a8695f6b4fccf546cb2d5cf246d1892a0f (patch) | |
tree | 9ed9c69c322e34e6c0bdbcd3e1d6e1b863d50d9f /drivers/edac/amd64_edac_inj.c | |
parent | [SCSI] block: improve detail in I/O error messages (diff) | |
download | linux-f56635a8695f6b4fccf546cb2d5cf246d1892a0f.tar.xz linux-f56635a8695f6b4fccf546cb2d5cf246d1892a0f.zip |
[SCSI] libfc: always initialize the FCoE DDP exchange id for fsp as FC_XID_UNKNOWN
The fsp's xfer_ddp is used as indication of the exchange id for the DDPed
I/O. We should always initialize it as FC_XID_UNKNOWN for a newly allocated
fsp, otherwise the fsp allocated in fc_fcp, i.e., not from queuecommand like
LUN RESET that is not doing DDP may still think DDP is setup for it since xid
0 is valid and goes on to call fc_fcp_ddp_done() in fc_fcp_resp() from
fc_tm_done(). So, set xfer_ddp as FC_XID_UNKNOWN in fc_fcp_pkt_alloc() now.
Also removes the setting of fsp->lp as it's already done when fsp is allocated.
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>
Diffstat (limited to 'drivers/edac/amd64_edac_inj.c')
0 files changed, 0 insertions, 0 deletions