
From: Hans Reiser <reiser@namesys.com>

Reiser4 implements read without help of generic_file_read, but it uses
page_cache_readahead.  So, this patch makes page_cache_readahead
EXPROT_SYMBOL.  Future filesystems may find this patch useful as well.

Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/mm/readahead.c |    1 +
 1 files changed, 1 insertion(+)

diff -puN mm/readahead.c~reiser4-export-page_cache_readahead mm/readahead.c
--- 25/mm/readahead.c~reiser4-export-page_cache_readahead	2005-02-28 16:59:29.000000000 -0800
+++ 25-akpm/mm/readahead.c	2005-02-28 16:59:29.000000000 -0800
@@ -548,6 +548,7 @@ void handle_ra_miss(struct address_space
 	ra->flags |= RA_FLAG_MISS;
 	ra->flags &= ~RA_FLAG_INCACHE;
 }
+EXPORT_SYMBOL(page_cache_readahead);
 
 /*
  * Given a desired number of PAGE_CACHE_SIZE readahead pages, return a
_
