mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-01 12:04:08 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue