From: Hans Reiser <[email protected]>

Reiser4 is trying to add/remove pages to/from address space, so it needs

remove_from_page_cache
__remove_from_page_cache
add_to_page_cache_lru

to be EXPORT_SYMBOL-ed.

Signed-off-by: Andrew Morton <[email protected]>
---

25-akpm/mm/filemap.c |    3 +++
1 files changed, 3 insertions(+)

diff -puN mm/filemap.c~reiser4-export-remove_from_page_cache mm/filemap.c
--- 25/mm/filemap.c~reiser4-export-remove_from_page_cache       2005-04-02 00:22:58.000000000 -0800
+++ 25-akpm/mm/filemap.c        2005-04-02 00:22:58.000000000 -0800
@@ -118,6 +118,7 @@ void __remove_from_page_cache(struct pag
       mapping->nrpages--;
       pagecache_acct(-1);
}
+EXPORT_SYMBOL(__remove_from_page_cache);

void remove_from_page_cache(struct page *page)
{
@@ -129,6 +130,7 @@ void remove_from_page_cache(struct page
       __remove_from_page_cache(page);
       write_unlock_irq(&mapping->tree_lock);
}
+EXPORT_SYMBOL(remove_from_page_cache);

static int sync_page(void *word)
{
@@ -390,6 +392,7 @@ int add_to_page_cache_lru(struct page *p
               lru_cache_add(page);
       return ret;
}
+EXPORT_SYMBOL(add_to_page_cache_lru);

/*
 * In order to wait for pages to become available there must be
_