Skip to content

Commit

Permalink
mm: export remove_from_page_cache() to modules
Browse files Browse the repository at this point in the history
This is needed to enable moving pages into the page cache in fuse with
splice(..., SPLICE_F_MOVE).

Signed-off-by: Miklos Szeredi <[email protected]>
  • Loading branch information
Miklos Szeredi committed May 25, 2010
1 parent 47846b0 commit a52116a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mm/filemap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit a52116a

Please sign in to comment.