mm: export remove_from_page_cache() to modules

This is needed to enable moving pages into the page cache in fuse with
splice(..., SPLICE_F_MOVE).

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
This commit is contained in:
Miklos Szeredi 2010-05-25 15:06:06 +02:00
parent 47846b0650
commit a52116aba5
1 changed files with 1 additions and 0 deletions

View File

@ -151,6 +151,7 @@ void remove_from_page_cache(struct page *page)
spin_unlock_irq(&mapping->tree_lock);
mem_cgroup_uncharge_cache_page(page);
}
EXPORT_SYMBOL(remove_from_page_cache);
static int sync_page(void *word)
{