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 99977f0a94e4..5c0c6518f341 100644 --- a/mm/filemap.c +++ b/mm/filemap.c | |||
@@ -1516,7 +1516,8 @@ static void do_async_mmap_readahead(struct vm_area_struct *vma, | |||
1516 | if (ra->mmap_miss > 0) | 1516 | if (ra->mmap_miss > 0) |
1517 | ra->mmap_miss--; | 1517 | ra->mmap_miss--; |
1518 | if (PageReadahead(page)) | 1518 | if (PageReadahead(page)) |
1519 | page_cache_async_readahead(mapping, ra, file, page, offset, 1); | 1519 | page_cache_async_readahead(mapping, ra, file, |
1520 | page, offset, ra->ra_pages); | ||
1520 | } | 1521 | } |
1521 | 1522 | ||
1522 | /** | 1523 | /** |