Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 72697
b: refs/heads/master
c: acd054a
h: refs/heads/master
i:
  72695: 934fa70
v: v3
  • Loading branch information
Anton Blanchard authored and Jens Axboe committed Oct 29, 2007
1 parent 99e6e5c commit c7f708d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5336940dd8b11180a0340ba886db62f728377d19
refs/heads/master: acd054a5ef401e03e0047b487e572442614f81e5
1 change: 1 addition & 0 deletions trunk/drivers/ata/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -4689,6 +4689,7 @@ static int ata_sg_setup(struct ata_queued_cmd *qc)
* data in this function or read data in ata_sg_clean.
*/
offset = lsg->offset + lsg->length - qc->pad_len;
sg_init_table(psg, 1);
sg_set_page(psg, nth_page(sg_page(lsg), offset >> PAGE_SHIFT),
qc->pad_len, offset_in_page(offset));

Expand Down

0 comments on commit c7f708d

Please sign in to comment.