
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	2004-12-03 20:56:56.750132856 -0800
+++ 25-akpm/mm/readahead.c	2004-12-03 20:56:56.753132400 -0800
@@ -547,6 +547,7 @@ out:
 	ra->prev_page = offset + newsize - 1;
 	return(newsize);
 }
+EXPORT_SYMBOL(page_cache_readahead);
 
 /*
  * handle_ra_miss() is called when it is known that a page which should have
_
