summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarco Stornelli <marco.stornelli@gmail.com>2012-12-15 12:00:02 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2012-12-20 18:46:29 -0500
commit7898575fc81bd707ce0844cb06874d48e39bbe09 (patch)
treeab30305f0d957854497fababde6caff644b2bfca /include
parentd30357f2f0ec0bfb67fd39f8f76d22d02d78631e (diff)
downloadlinux-3.10-7898575fc81bd707ce0844cb06874d48e39bbe09.tar.gz
linux-3.10-7898575fc81bd707ce0844cb06874d48e39bbe09.tar.bz2
linux-3.10-7898575fc81bd707ce0844cb06874d48e39bbe09.zip
mm: drop vmtruncate
Removed vmtruncate Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 7f4f906190b..63204078f72 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -1007,7 +1007,6 @@ static inline void unmap_shared_mapping_range(struct address_space *mapping,
extern void truncate_pagecache(struct inode *inode, loff_t old, loff_t new);
extern void truncate_setsize(struct inode *inode, loff_t newsize);
-extern int vmtruncate(struct inode *inode, loff_t offset);
void truncate_pagecache_range(struct inode *inode, loff_t offset, loff_t end);
int truncate_inode_page(struct address_space *mapping, struct page *page);
int generic_error_remove_page(struct address_space *mapping, struct page *page);