git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: add an 'end' parameter to find_get_entries
[sfrench/cifs-2.6.git]
/
mm
/
swap.c
diff --git
a/mm/swap.c
b/mm/swap.c
index ab3258afcbeb8521fa98b900c56f68f037dafd1e..c5773a84feab3d1f2f7e10b41131683e580a8610 100644
(file)
--- a/
mm/swap.c
+++ b/
mm/swap.c
@@
-1046,7
+1046,7
@@
unsigned pagevec_lookup_entries(struct pagevec *pvec,
pgoff_t start, unsigned nr_entries,
pgoff_t *indices)
{
- pvec->nr = find_get_entries(mapping, start, nr_entries,
+ pvec->nr = find_get_entries(mapping, start,
ULONG_MAX,
nr_entries,
pvec->pages, indices);
return pagevec_count(pvec);
}