Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226790
b: refs/heads/master
c: e90ff5e
h: refs/heads/master
v: v3
  • Loading branch information
Hillf Danton authored and James Bottomley committed Dec 21, 2010
1 parent 8890fa0 commit 715d619
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 530994d69e5b6b4eca2db4a21b6d945d13646053
refs/heads/master: e90ff5ef0aab1d40f0e92a44d66f8d45a20d8c95
4 changes: 2 additions & 2 deletions trunk/drivers/scsi/libfc/fc_fcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1820,11 +1820,11 @@ static int fc_queuecommand_lck(struct scsi_cmnd *sc_cmd, void (*done)(struct scs
if (sc_cmd->sc_data_direction == DMA_FROM_DEVICE) {
fsp->req_flags = FC_SRB_READ;
stats->InputRequests++;
stats->InputMegabytes = fsp->data_len;
stats->InputMegabytes += fsp->data_len;
} else if (sc_cmd->sc_data_direction == DMA_TO_DEVICE) {
fsp->req_flags = FC_SRB_WRITE;
stats->OutputRequests++;
stats->OutputMegabytes = fsp->data_len;
stats->OutputMegabytes += fsp->data_len;
} else {
fsp->req_flags = 0;
stats->ControlRequests++;
Expand Down

0 comments on commit 715d619

Please sign in to comment.