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]>
---

diff -puN mm/filemap.c~reiser4-export-remove_from_page_cache mm/filemap.c


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

diff -puN mm/filemap.c~reiser4-export-remove_from_page_cache mm/filemap.c
--- linux-2.6.11-rc3-mm2/mm/filemap.c~reiser4-export-remove_from_page_cache     2005-02-17 14:36:44.000000000 +0300
+++ linux-2.6.11-rc3-mm2-vs/mm/filemap.c        2005-02-17 14:36:44.000000000 +0300
@@ -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)
{
@@ -130,6 +131,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)
{
@@ -391,6 +393,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

_