From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Howells Subject: [PATCH 4/7] FS-Cache: Export find_get_pages() Date: Thu, 20 Apr 2006 17:59:35 +0100 Message-ID: <20060420165935.9968.11060.stgit@warthog.cambridge.redhat.com> References: <20060420165927.9968.33912.stgit@warthog.cambridge.redhat.com> Reply-To: Linux filesystem caching discussion list Cc: linux-fsdevel@vger.kernel.org, linux-cachefs@redhat.com, nfsv4@linux-nfs.org, linux-kernel@vger.kernel.org Return-path: To: torvalds@osdl.org, akpm@osdl.org, steved@redhat.com, sct@redhat.com, aviro@redhat.com In-Reply-To: <20060420165927.9968.33912.stgit@warthog.cambridge.redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-cachefs-bounces@redhat.com Errors-To: linux-cachefs-bounces@redhat.com List-Id: linux-fsdevel.vger.kernel.org The attached patch exports find_get_pages() for use by the kAFS filesystem in conjunction with it caching patch. Signed-Off-By: David Howells --- mm/filemap.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/mm/filemap.c b/mm/filemap.c index d4a598f..d6f7ab4 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -714,6 +714,8 @@ unsigned find_get_pages(struct address_s return ret; } +EXPORT_SYMBOL(find_get_pages); + /* * Like find_get_pages, except we only return pages which are tagged with * `tag'. We update *index to index the next page for the traversal.