diff options
Diffstat (limited to 'mm/filemap.c')
-rw-r--r-- | mm/filemap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/filemap.c b/mm/filemap.c index 2e9bcc2e7977..6846a902f5cf 100644 --- a/mm/filemap.c +++ b/mm/filemap.c | |||
@@ -1471,7 +1471,8 @@ static void do_sync_mmap_readahead(struct vm_area_struct *vma, | |||
1471 | 1471 | ||
1472 | if (VM_SequentialReadHint(vma) || | 1472 | if (VM_SequentialReadHint(vma) || |
1473 | offset - 1 == (ra->prev_pos >> PAGE_CACHE_SHIFT)) { | 1473 | offset - 1 == (ra->prev_pos >> PAGE_CACHE_SHIFT)) { |
1474 | page_cache_sync_readahead(mapping, ra, file, offset, 1); | 1474 | page_cache_sync_readahead(mapping, ra, file, offset, |
1475 | ra->ra_pages); | ||
1475 | return; | 1476 | return; |
1476 | } | 1477 | } |
1477 | 1478 | ||