Skip to content

Commit

Permalink
[SCSI] be2iscsi: No requirement for endianess change for data_count
Browse files Browse the repository at this point in the history
This patch removes the endianess change that was wrongly
added for data_count

Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
  • Loading branch information
Jayamohan Kallickal authored and James Bottomley committed Jan 18, 2010
1 parent 0ecb0b4 commit 51a4625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/be2iscsi/be_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3607,7 +3607,7 @@ static int beiscsi_mtask(struct iscsi_task *task)
}

AMAP_SET_BITS(struct amap_iscsi_wrb, r2t_exp_dtl, pwrb,
be32_to_cpu(task->data_count));
task->data_count);
AMAP_SET_BITS(struct amap_iscsi_wrb, ptr2nextwrb, pwrb,
io_task->pwrb_handle->nxt_wrb_index);
be_dws_le_to_cpu(pwrb, sizeof(struct iscsi_wrb));
Expand Down

0 comments on commit 51a4625

Please sign in to comment.