Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204251
b: refs/heads/master
c: e0d93c5
h: refs/heads/master
i:
  204249: b0aa6e6
  204247: 98e6d00
v: v3
  • Loading branch information
Vasu Dev authored and James Bottomley committed Jul 28, 2010
1 parent cf04a7c commit 61e3b24
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d058fd31c7f44960b00566bda39c85377f461a7b
refs/heads/master: e0d93c5bc47ae270ea38192c9a49f660e0406060
5 changes: 5 additions & 0 deletions trunk/drivers/scsi/libfc/fc_fcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1971,6 +1971,11 @@ static void fc_io_compl(struct fc_fcp_pkt *fsp)
break;
}

if (lport->state != LPORT_ST_READY && fsp->status_code != FC_COMPLETE) {
sc_cmd->result = (DID_REQUEUE << 16);
FC_FCP_DBG(fsp, "Returning DID_REQUEUE to scsi-ml\n");
}

spin_lock_irqsave(&si->scsi_queue_lock, flags);
list_del(&fsp->list);
spin_unlock_irqrestore(&si->scsi_queue_lock, flags);
Expand Down

0 comments on commit 61e3b24

Please sign in to comment.