Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173604
b: refs/heads/master
c: 4347fa6
h: refs/heads/master
v: v3
  • Loading branch information
Yi Zou authored and James Bottomley committed Dec 4, 2009
1 parent 1fcedd5 commit ab2d695
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: c340111dbb48482cd23f4e441deff9169be9bc6f
refs/heads/master: 4347fa66878e079766258bc0d077c350cb31a799
3 changes: 2 additions & 1 deletion trunk/drivers/scsi/libfc/fc_fcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1849,7 +1849,8 @@ static void fc_io_compl(struct fc_fcp_pkt *fsp)
* scsi status is good but transport level
* underrun.
*/
sc_cmd->result = DID_OK << 16;
sc_cmd->result = (fsp->state & FC_SRB_RCV_STATUS ?
DID_OK : DID_ERROR) << 16;
} else {
/*
* scsi got underrun, this is an error
Expand Down

0 comments on commit ab2d695

Please sign in to comment.