Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18467
b: refs/heads/master
c: a1e80c2
h: refs/heads/master
i:
  18465: 68f12e3
  18463: 98dbadd
v: v3
  • Loading branch information
Mike Christie authored and James Bottomley committed Jan 14, 2006
1 parent 3a4343e commit 24abe0a
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: 55e3299d9eca01fb2351c5d37e222872b7c6e0af
refs/heads/master: a1e80c20e1ac751dbdd88dee989e9a19c22c4a84
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/iscsi_tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ iscsi_buf_init_sg(struct iscsi_buf *ibuf, struct scatterlist *sg)
/*
* Fastpath: sg element fits into single page
*/
if (sg->length + sg->offset <= PAGE_SIZE && page_count(sg->page) >= 2)
if (sg->length + sg->offset <= PAGE_SIZE && !PageSlab(sg->page))
ibuf->use_sendmsg = 0;
else
ibuf->use_sendmsg = 1;
Expand Down

0 comments on commit 24abe0a

Please sign in to comment.