aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@sgi.com>2006-01-11 04:47:41 -0500
committerNathan Scott <nathans@sgi.com>2006-01-11 04:47:41 -0500
commit78539fdfa4c21308e90c596f060df8114483862a (patch)
tree475535625cb750317314ac4eda93c4f6fe57d4d9 /mm
parentf6d6d4fcd180f8e47bf6b13fc6cce1e6c156d0ea (diff)
[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>
Diffstat (limited to 'mm')
-rw-r--r--mm/swap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/swap.c b/mm/swap.c
index ee6d71ccfa56..cbb48e721ab9 100644
--- a/mm/swap.c
+++ b/mm/swap.c
@@ -384,6 +384,8 @@ unsigned pagevec_lookup(struct pagevec *pvec, struct address_space *mapping,
384 return pagevec_count(pvec); 384 return pagevec_count(pvec);
385} 385}
386 386
387EXPORT_SYMBOL(pagevec_lookup);
388
387unsigned pagevec_lookup_tag(struct pagevec *pvec, struct address_space *mapping, 389unsigned pagevec_lookup_tag(struct pagevec *pvec, struct address_space *mapping,
388 pgoff_t *index, int tag, unsigned nr_pages) 390 pgoff_t *index, int tag, unsigned nr_pages)
389{ 391{