diff options
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r-- | include/linux/mm.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index b6eae5e3144b..8347e938fb2f 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
@@ -791,8 +791,9 @@ static inline void unmap_shared_mapping_range(struct address_space *mapping, | |||
791 | unmap_mapping_range(mapping, holebegin, holelen, 0); | 791 | unmap_mapping_range(mapping, holebegin, holelen, 0); |
792 | } | 792 | } |
793 | 793 | ||
794 | extern int vmtruncate(struct inode * inode, loff_t offset); | 794 | extern void truncate_pagecache(struct inode *inode, loff_t old, loff_t new); |
795 | extern int vmtruncate_range(struct inode * inode, loff_t offset, loff_t end); | 795 | extern int vmtruncate(struct inode *inode, loff_t offset); |
796 | extern int vmtruncate_range(struct inode *inode, loff_t offset, loff_t end); | ||
796 | 797 | ||
797 | #ifdef CONFIG_MMU | 798 | #ifdef CONFIG_MMU |
798 | extern int handle_mm_fault(struct mm_struct *mm, struct vm_area_struct *vma, | 799 | extern int handle_mm_fault(struct mm_struct *mm, struct vm_area_struct *vma, |