mm: move readahead prototypes from mm.h
[linux-block.git] / mm / internal.h
index b5634e78f01dc6aa49b0c6926ba444b69c5fcadc..25fee17c733469f5f5131f4cbc504898c4b8bbbe 100644 (file)
@@ -49,6 +49,8 @@ void unmap_page_range(struct mmu_gather *tlb,
                             unsigned long addr, unsigned long end,
                             struct zap_details *details);
 
+int force_page_cache_readahead(struct address_space *, struct file *,
+               pgoff_t index, unsigned long nr_to_read);
 extern unsigned int __do_page_cache_readahead(struct address_space *mapping,
                struct file *filp, pgoff_t offset, unsigned long nr_to_read,
                unsigned long lookahead_size);