Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 151516
b: refs/heads/master
c: 7ffc59b
h: refs/heads/master
v: v3
  • Loading branch information
Wu Fengguang authored and Linus Torvalds committed Jun 17, 2009
1 parent 4177a55 commit 69e060b
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 61b7cbdba2f3c588a0cf3db574c562805454b09b
refs/heads/master: 7ffc59b4d0bdfa00e882339f85b8a969bb7021e2
3 changes: 2 additions & 1 deletion trunk/mm/filemap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1471,7 +1471,8 @@ static void do_sync_mmap_readahead(struct vm_area_struct *vma,

if (VM_SequentialReadHint(vma) ||
offset - 1 == (ra->prev_pos >> PAGE_CACHE_SHIFT)) {
page_cache_sync_readahead(mapping, ra, file, offset, 1);
page_cache_sync_readahead(mapping, ra, file, offset,
ra->ra_pages);
return;
}

Expand Down

0 comments on commit 69e060b

Please sign in to comment.