git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6d6d4f
)
[XFS] Export pagevec_lookup for use on the XFS page writeout path,
author
Christoph Hellwig
<hch@sgi.com>
Wed, 11 Jan 2006 09:47:41 +0000
(20:47 +1100)
committer
Nathan Scott
<nathans@sgi.com>
Wed, 11 Jan 2006 09:47:41 +0000
(20:47 +1100)
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>
mm/swap.c
patch
|
blob
|
history
diff --git
a/mm/swap.c
b/mm/swap.c
index
ee6d71c
..
cbb48e7
100644
(file)
--- 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)
{