mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
mm: remove nr_pages argument from pagevec_lookup{,_range}()
All users of pagevec_lookup() and pagevec_lookup_range() now pass PAGEVEC_SIZE as a desired number of pages. Just drop the argument. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Jan Kara <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
f7b6804687
commit
397162ffa2
8 changed files with 13 additions and 18 deletions
|
|
@ -312,7 +312,7 @@ void nilfs_copy_back_pages(struct address_space *dmap,
|
|||
|
||||
pagevec_init(&pvec, 0);
|
||||
repeat:
|
||||
n = pagevec_lookup(&pvec, smap, &index, PAGEVEC_SIZE);
|
||||
n = pagevec_lookup(&pvec, smap, &index);
|
||||
if (!n)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue