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:
parent
47846b0650
commit
a52116aba5
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue