[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 <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
This commit is contained in:
Christoph Hellwig 2006-01-11 20:47:41 +11:00 committed by Nathan Scott
parent f6d6d4fcd1
commit 78539fdfa4
1 changed files with 2 additions and 0 deletions

View File

@ -384,6 +384,8 @@ unsigned pagevec_lookup(struct pagevec *pvec, struct address_space *mapping,
return pagevec_count(pvec); return pagevec_count(pvec);
} }
EXPORT_SYMBOL(pagevec_lookup);
unsigned pagevec_lookup_tag(struct pagevec *pvec, struct address_space *mapping, unsigned pagevec_lookup_tag(struct pagevec *pvec, struct address_space *mapping,
pgoff_t *index, int tag, unsigned nr_pages) pgoff_t *index, int tag, unsigned nr_pages)
{ {