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 6953a5a53e44..df08551cb0ad 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
@@ -792,8 +792,9 @@ static inline void unmap_shared_mapping_range(struct address_space *mapping, | |||
792 | unmap_mapping_range(mapping, holebegin, holelen, 0); | 792 | unmap_mapping_range(mapping, holebegin, holelen, 0); |
793 | } | 793 | } |
794 | 794 | ||
795 | extern int vmtruncate(struct inode * inode, loff_t offset); | 795 | extern void truncate_pagecache(struct inode *inode, loff_t old, loff_t new); |
796 | extern int vmtruncate_range(struct inode * inode, loff_t offset, loff_t end); | 796 | extern int vmtruncate(struct inode *inode, loff_t offset); |
797 | extern int vmtruncate_range(struct inode *inode, loff_t offset, loff_t end); | ||
797 | 798 | ||
798 | int truncate_inode_page(struct address_space *mapping, struct page *page); | 799 | int truncate_inode_page(struct address_space *mapping, struct page *page); |
799 | int generic_error_remove_page(struct address_space *mapping, struct page *page); | 800 | int generic_error_remove_page(struct address_space *mapping, struct page *page); |