diff options
Diffstat (limited to 'mm/readahead.c')
-rw-r--r-- | mm/readahead.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/readahead.c b/mm/readahead.c index 2c0cc489e288..867f9dd82dcd 100644 --- a/mm/readahead.c +++ b/mm/readahead.c | |||
@@ -180,7 +180,7 @@ __do_page_cache_readahead(struct address_space *mapping, struct file *filp, | |||
180 | if (page) | 180 | if (page) |
181 | continue; | 181 | continue; |
182 | 182 | ||
183 | page = page_cache_alloc_cold(mapping); | 183 | page = page_cache_alloc_readahead(mapping); |
184 | if (!page) | 184 | if (!page) |
185 | break; | 185 | break; |
186 | page->index = page_offset; | 186 | page->index = page_offset; |