Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 302425
b: refs/heads/master
c: f80e8ed
h: refs/heads/master
i:
  302423: 18d3725
v: v3
  • Loading branch information
Nicholas Bellinger committed May 21, 2012
1 parent ad932ff commit d3686c7
Show file tree
Hide file tree
Showing 2 changed files with 2 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: b1e41d8cd43910fee82f27ab1381bc6cd66910b3
refs/heads/master: f80e8ed3951455272c12693e35b259be8eb60b30
2 changes: 1 addition & 1 deletion trunk/drivers/target/iscsi/iscsi_target.c
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ static void iscsit_ack_from_expstatsn(struct iscsi_conn *conn, u32 exp_statsn)

static int iscsit_allocate_iovecs(struct iscsi_cmd *cmd)
{
u32 iov_count = min(1UL, DIV_ROUND_UP(cmd->se_cmd.data_length, PAGE_SIZE));
u32 iov_count = max(1UL, DIV_ROUND_UP(cmd->se_cmd.data_length, PAGE_SIZE));

iov_count += ISCSI_IOV_DATA_BUFFER;

Expand Down

0 comments on commit d3686c7

Please sign in to comment.