|
@@ -155,6 +155,7 @@ static struct fc_fcp_pkt *fc_fcp_pkt_alloc(struct fc_lport *lport, gfp_t gfp)
|
|
|
if (fsp) {
|
|
|
memset(fsp, 0, sizeof(*fsp));
|
|
|
fsp->lp = lport;
|
|
|
+ fsp->xfer_ddp = FC_XID_UNKNOWN;
|
|
|
atomic_set(&fsp->ref_cnt, 1);
|
|
|
init_timer(&fsp->timer);
|
|
|
INIT_LIST_HEAD(&fsp->list);
|
|
@@ -1842,9 +1843,7 @@ static int fc_queuecommand_lck(struct scsi_cmnd *sc_cmd, void (*done)(struct scs
|
|
|
* build the libfc request pkt
|
|
|
*/
|
|
|
fsp->cmd = sc_cmd; /* save the cmd */
|
|
|
- fsp->lp = lport; /* save the softc ptr */
|
|
|
fsp->rport = rport; /* set the remote port ptr */
|
|
|
- fsp->xfer_ddp = FC_XID_UNKNOWN;
|
|
|
sc_cmd->scsi_done = done;
|
|
|
|
|
|
/*
|
|
@@ -2112,7 +2111,6 @@ int fc_eh_device_reset(struct scsi_cmnd *sc_cmd)
|
|
|
* the sc passed in is not setup for execution like when sent
|
|
|
* through the queuecommand callout.
|
|
|
*/
|
|
|
- fsp->lp = lport; /* save the softc ptr */
|
|
|
fsp->rport = rport; /* set the remote port ptr */
|
|
|
|
|
|
/*
|