mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
5e5358e7cf
commit
85821aab39
|
@ -1411,8 +1411,7 @@ extern int do_munmap(struct mm_struct *, unsigned long, size_t);
|
||||||
|
|
||||||
extern unsigned long do_brk(unsigned long, unsigned long);
|
extern unsigned long do_brk(unsigned long, unsigned long);
|
||||||
|
|
||||||
/* filemap.c */
|
/* truncate.c */
|
||||||
extern unsigned long page_unuse(struct page *);
|
|
||||||
extern void truncate_inode_pages(struct address_space *, loff_t);
|
extern void truncate_inode_pages(struct address_space *, loff_t);
|
||||||
extern void truncate_inode_pages_range(struct address_space *,
|
extern void truncate_inode_pages_range(struct address_space *,
|
||||||
loff_t lstart, loff_t lend);
|
loff_t lstart, loff_t lend);
|
||||||
|
|
Loading…
Reference in New Issue