mm: make pagevec_lookup() update index
[linux-block.git] / include / linux / pagevec.h
index b45d391b454053c5af635db7992c1e12532f0a8e..c395a5bb58b265cf3569441a820b79f52acb2fc0 100644 (file)
@@ -28,7 +28,7 @@ unsigned pagevec_lookup_entries(struct pagevec *pvec,
                                pgoff_t *indices);
 void pagevec_remove_exceptionals(struct pagevec *pvec);
 unsigned pagevec_lookup(struct pagevec *pvec, struct address_space *mapping,
-               pgoff_t start, unsigned nr_pages);
+               pgoff_t *start, unsigned nr_pages);
 unsigned pagevec_lookup_tag(struct pagevec *pvec,
                struct address_space *mapping, pgoff_t *index, int tag,
                unsigned nr_pages);