From: Christoph Hellwig Date: Wed, 11 Jan 2006 09:47:41 +0000 (+1100) Subject: [XFS] Export pagevec_lookup for use on the XFS page writeout path, X-Git-Tag: v2.6.16-rc1~185^2~17 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78539fdfa4c21308e90c596f060df8114483862a;p=linux-2.6 [XFS] Export pagevec_lookup for use on the XFS page writeout path, for dealing with delayed allocate and unwritten extents (as well). Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott --- diff --git a/mm/swap.c b/mm/swap.c index ee6d71ccfa..cbb48e721a 100644 --- a/mm/swap.c +++ b/mm/swap.c @@ -384,6 +384,8 @@ unsigned pagevec_lookup(struct pagevec *pvec, struct address_space *mapping, return pagevec_count(pvec); } +EXPORT_SYMBOL(pagevec_lookup); + unsigned pagevec_lookup_tag(struct pagevec *pvec, struct address_space *mapping, pgoff_t *index, int tag, unsigned nr_pages) {