From 1fcbae3fa3456c06b7d5bf0b3a7caa8a63d46221 Mon Sep 17 00:00:00 2001 From: Hugh Dickins Date: Sat, 16 Jul 2011 23:30:41 +1000 Subject: [PATCH] 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 Signed-off-by: Andrew Morton --- include/linux/mm.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/linux/mm.h b/include/linux/mm.h index 3b61c2fcb1be..ba723229b786 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -1409,8 +1409,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); -- 2.39.5