mm: remove nr_pages argument from pagevec_lookup{,_range}()
[sfrench/cifs-2.6.git] / fs / ext4 / file.c
index 7263448097212fba7e0cfbbe2adacbb01d2b1dac..484c1326dd6a4fe5cd96041c62b4b663630b8e43 100644 (file)
@@ -468,7 +468,7 @@ static int ext4_find_unwritten_pgoff(struct inode *inode,
                unsigned long nr_pages;
 
                nr_pages = pagevec_lookup_range(&pvec, inode->i_mapping,
-                                       &index, end, PAGEVEC_SIZE);
+                                       &index, end);
                if (nr_pages == 0)
                        break;