Commit e57c2ae2 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] make filemap_sync static

From Christpoh Hellwig.

Make filemap_sync() static, and not exported to modules
parent 3e1b0887
......@@ -504,7 +504,6 @@ extern unsigned long page_unuse(struct page *);
extern void truncate_inode_pages(struct address_space *, loff_t);
/* generic vm_area_ops exported for stackable file systems */
extern int filemap_sync(struct vm_area_struct *, unsigned long, size_t, unsigned int);
extern struct page *filemap_nopage(struct vm_area_struct *, unsigned long, int);
/* mm/page-writeback.c */
......
......@@ -326,7 +326,6 @@ EXPORT_SYMBOL(set_anon_super);
EXPORT_SYMBOL(default_llseek);
EXPORT_SYMBOL(dentry_open);
EXPORT_SYMBOL(filemap_nopage);
EXPORT_SYMBOL(filemap_sync);
EXPORT_SYMBOL(filemap_fdatawrite);
EXPORT_SYMBOL(filemap_fdatawait);
EXPORT_SYMBOL(lock_page);
......
......@@ -94,7 +94,7 @@ static inline int filemap_sync_pmd_range(pgd_t * pgd,
return error;
}
int filemap_sync(struct vm_area_struct * vma, unsigned long address,
static int filemap_sync(struct vm_area_struct * vma, unsigned long address,
size_t size, unsigned int flags)
{
pgd_t * dir;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment