From: ReiserFS Development Subject: [PATCH] reiser4: add new exports for used symbols Patch-mainline: Not yet This patch exports the following symbols for use in reiser4: - __remove_from_page_cache - find_get_pages Acked-by: Jeff Mahoney --- mm/filemap.c | 3 +++ 1 file changed, 3 insertions(+) --- a/mm/filemap.c +++ b/mm/filemap.c @@ -139,6 +139,7 @@ void __remove_from_page_cache(struct pag dec_bdi_stat(mapping->backing_dev_info, BDI_RECLAIMABLE); } } +EXPORT_SYMBOL_GPL(__remove_from_page_cache); void remove_from_page_cache(struct page *page) { @@ -151,6 +152,7 @@ void remove_from_page_cache(struct page spin_unlock_irq(&mapping->tree_lock); mem_cgroup_uncharge_cache_page(page); } +EXPORT_SYMBOL_GPL(remove_from_page_cache); static int sync_page(void *word) { @@ -779,6 +781,7 @@ repeat: rcu_read_unlock(); return ret; } +EXPORT_SYMBOL_GPL(find_get_pages); /** * find_get_pages_contig - gang contiguous pagecache lookup