diff options
author | David Howells <dhowells@redhat.com> | 2007-05-09 05:33:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-09 15:30:50 -0400 |
commit | ef71c15c46a053818f7e69098ebb052b31ffa56b (patch) | |
tree | 1136f1280e2a570a5c29486aef408473160c76b5 /mm/filemap.c | |
parent | 9b04bd27564cfd7224e0135ba37df778f1d490bf (diff) |
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 <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/filemap.c')
-rw-r--r-- | mm/filemap.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, | |||
750 | read_unlock_irq(&mapping->tree_lock); | 750 | read_unlock_irq(&mapping->tree_lock); |
751 | return i; | 751 | return i; |
752 | } | 752 | } |
753 | EXPORT_SYMBOL(find_get_pages_contig); | ||
753 | 754 | ||
754 | /** | 755 | /** |
755 | * find_get_pages_tag - find and return pages that match @tag | 756 | * 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, | |||
778 | read_unlock_irq(&mapping->tree_lock); | 779 | read_unlock_irq(&mapping->tree_lock); |
779 | return ret; | 780 | return ret; |
780 | } | 781 | } |
782 | EXPORT_SYMBOL(find_get_pages_tag); | ||
781 | 783 | ||
782 | /** | 784 | /** |
783 | * grab_cache_page_nowait - returns locked page at given index in given cache | 785 | * grab_cache_page_nowait - returns locked page at given index in given cache |