]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/suse-2.6.27.31/patches.suse/reiser4-exports
04333b5cdec4cd7b304c6f915d26dc95492053a7
[ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.suse / reiser4-exports
1 From: ReiserFS Development <reiserfs-devel@vger.kernel.org>
2 Subject: [PATCH] reiser4: add new exports for used symbols
3
4 This patch exports the following symbols for use in reiser4:
5
6 - __copy_from_user_ll_nocache
7 - __copy_from_user_ll_nocache_nozero
8 - __remove_from_page_cache
9 - remove_from_page_cache
10 - add_to_page_cache_lru
11 - find_get_pages
12 - handle_ra_miss
13
14 Acked-by: Jeff Mahoney <jeffm@suse.com>
15
16 ---
17 mm/filemap.c | 4 ++++
18 1 file changed, 4 insertions(+)
19
20 --- a/mm/filemap.c
21 +++ b/mm/filemap.c
22 @@ -134,6 +134,7 @@ void __remove_from_page_cache(struct pag
23 dec_bdi_stat(mapping->backing_dev_info, BDI_RECLAIMABLE);
24 }
25 }
26 +EXPORT_SYMBOL_GPL(__remove_from_page_cache);
27
28 void remove_from_page_cache(struct page *page)
29 {
30 @@ -145,6 +146,7 @@ void remove_from_page_cache(struct page
31 __remove_from_page_cache(page);
32 spin_unlock_irq(&mapping->tree_lock);
33 }
34 +EXPORT_SYMBOL_GPL(remove_from_page_cache);
35
36 static int sync_page(void *word)
37 {
38 @@ -497,6 +499,7 @@ int add_to_page_cache_lru(struct page *p
39 lru_cache_add(page);
40 return ret;
41 }
42 +EXPORT_SYMBOL_GPL(add_to_page_cache_lru);
43
44 #ifdef CONFIG_NUMA
45 struct page *__page_cache_alloc(gfp_t gfp)
46 @@ -796,6 +799,7 @@ repeat:
47 rcu_read_unlock();
48 return ret;
49 }
50 +EXPORT_SYMBOL_GPL(find_get_pages);
51
52 /**
53 * find_get_pages_contig - gang contiguous pagecache lookup