From: David Howells Date: Wed, 9 May 2007 09:33:44 +0000 (-0700) Subject: AFS: export a couple of core functions for AFS write support X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ef71c15c46a053818f7e69098ebb052b31ffa56b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git AFS: export a couple of core functions for AFS write support Export a couple of core functions for AFS write support to use: find_get_pages_contig() find_get_pages_tag() Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/filemap.c b/mm/filemap.c index 9cbf4fea4a59..9e56fd158fa3 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -750,6 +750,7 @@ unsigned find_get_pages_contig(struct address_space *mapping, pgoff_t index, read_unlock_irq(&mapping->tree_lock); return i; } +EXPORT_SYMBOL(find_get_pages_contig); /** * find_get_pages_tag - find and return pages that match @tag @@ -778,6 +779,7 @@ unsigned find_get_pages_tag(struct address_space *mapping, pgoff_t *index, read_unlock_irq(&mapping->tree_lock); return ret; } +EXPORT_SYMBOL(find_get_pages_tag); /** * grab_cache_page_nowait - returns locked page at given index in given cache