diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index 0012e3900468..685868b9e0e4 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -466,11 +466,11 @@ int write_one_page(struct page *page, int wait); /* readahead.c */ #define VM_MAX_READAHEAD 128 /* kbytes */ #define VM_MIN_READAHEAD 16 /* kbytes (includes current page) */ -void do_page_cache_readahead(struct file *file, +int do_page_cache_readahead(struct file *file, unsigned long offset, unsigned long nr_to_read); void page_cache_readahead(struct file *file, unsigned long offset); void page_cache_readaround(struct file *file, unsigned long offset); -void handle_ra_thrashing(struct file *file); +void handle_ra_miss(struct file *file); /* vma is the first one with address < vma->vm_end, * and even address < vma->vm_start. Have to extend vma. */ |
