summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugh Dickins <hughd@google.com>2011-06-23 10:24:52 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2011-06-23 10:24:52 +1000
commitb4b5631d2b1ebe0505c3e57079a85cd5b5e6474e (patch)
treec6cad36fdb088a9fece10df3312ab0a0c1915cea
parent175a37fe6f9261b502fe28e3ab21d33d3dc26ab8 (diff)
Correct comment on truncate_inode_pages*() in linux/mm.h; and remove
declaration of page_unuse(), it didn't exist even in 2.2.26 or 2.4.0! Signed-off-by: Hugh Dickins <hughd@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r--include/linux/mm.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 9670f71d7be9..2de6cffca287 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -1445,8 +1445,7 @@ extern int do_munmap(struct mm_struct *, unsigned long, size_t);
extern unsigned long do_brk(unsigned long, unsigned long);
-/* filemap.c */
-extern unsigned long page_unuse(struct page *);
+/* truncate.c */
extern void truncate_inode_pages(struct address_space *, loff_t);
extern void truncate_inode_pages_range(struct address_space *,
loff_t lstart, loff_t lend);