diff options
author | Hugh Dickins <hughd@google.com> | 2011-07-25 20:12:23 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-25 23:57:10 -0400 |
commit | 85821aab39b3403a8b5731812a930b78684d1642 (patch) | |
tree | dfac06b03f57a26146df3013b8fb6eb7a85158c6 | |
parent | 5e5358e7cf48aa079b8761a7d806ad536023745c (diff) |
mm: truncate functions are in truncate.c
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | include/linux/mm.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index 3c5505a3bc49..3cccd053850f 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
@@ -1411,8 +1411,7 @@ extern int do_munmap(struct mm_struct *, unsigned long, size_t); | |||
1411 | 1411 | ||
1412 | extern unsigned long do_brk(unsigned long, unsigned long); | 1412 | extern unsigned long do_brk(unsigned long, unsigned long); |
1413 | 1413 | ||
1414 | /* filemap.c */ | 1414 | /* truncate.c */ |
1415 | extern unsigned long page_unuse(struct page *); | ||
1416 | extern void truncate_inode_pages(struct address_space *, loff_t); | 1415 | extern void truncate_inode_pages(struct address_space *, loff_t); |
1417 | extern void truncate_inode_pages_range(struct address_space *, | 1416 | extern void truncate_inode_pages_range(struct address_space *, |
1418 | loff_t lstart, loff_t lend); | 1417 | loff_t lstart, loff_t lend); |