Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221471
b: refs/heads/master
c: 75eee72
h: refs/heads/master
i:
  221469: e73450c
  221467: b5a4a0c
  221463: 1b57c3c
  221455: f605aec
  221439: 8c565d6
v: v3
  • Loading branch information
Vasu Dev authored and James Bottomley committed Oct 25, 2010
1 parent 4a08c07 commit 00e1713
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 73b4376477672a4336cba5f26ede2e277511ce70
refs/heads/master: 75eee7252466342e0dfa6675106bcd3955090f67
6 changes: 2 additions & 4 deletions trunk/drivers/scsi/libfc/fc_fcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1971,10 +1971,8 @@ 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");
}
if (lport->state != LPORT_ST_READY && fsp->status_code != FC_COMPLETE)
sc_cmd->result = (DID_TRANSPORT_DISRUPTED << 16);

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

0 comments on commit 00e1713

Please sign in to comment.