mm: remove nr_pages argument from pagevec_lookup_{,range}_tag()
[sfrench/cifs-2.6.git] / fs / f2fs / checkpoint.c
index fb74ec4ed9d256540b1d5d626451adf75dc4cee0..6124f8710dc3954b5912453431611a23546ac83b 100644 (file)
@@ -319,7 +319,7 @@ long sync_meta_pages(struct f2fs_sb_info *sbi, enum page_type type,
        blk_start_plug(&plug);
 
        while ((nr_pages = pagevec_lookup_tag(&pvec, mapping, &index,
-                               PAGECACHE_TAG_DIRTY, PAGEVEC_SIZE))) {
+                               PAGECACHE_TAG_DIRTY))) {
                int i;
 
                for (i = 0; i < nr_pages; i++) {