Commit a52116ab authored by Miklos Szeredi's avatar Miklos Szeredi

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: default avatarMiklos Szeredi <mszeredi@suse.cz>
parent 47846b06
...@@ -151,6 +151,7 @@ void remove_from_page_cache(struct page *page) ...@@ -151,6 +151,7 @@ void remove_from_page_cache(struct page *page)
spin_unlock_irq(&mapping->tree_lock); spin_unlock_irq(&mapping->tree_lock);
mem_cgroup_uncharge_cache_page(page); mem_cgroup_uncharge_cache_page(page);
} }
EXPORT_SYMBOL(remove_from_page_cache);
static int sync_page(void *word) static int sync_page(void *word)
{ {
......
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