diff options
author | Jan Kara <jack@suse.cz> | 2017-11-15 17:35:19 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-15 18:21:04 -0800 |
commit | 67fd707f468142d0f689a6240044bb45c1913003 (patch) | |
tree | add13c73b7b00d43e8f88f21f8c2b22dade5c9bb /mm/page-writeback.c | |
parent | 4be90299a1693c2112edb20ca78d6cc9f2183326 (diff) | |
download | linux-rpi3-67fd707f468142d0f689a6240044bb45c1913003.tar.gz linux-rpi3-67fd707f468142d0f689a6240044bb45c1913003.tar.bz2 linux-rpi3-67fd707f468142d0f689a6240044bb45c1913003.zip |
mm: remove nr_pages argument from pagevec_lookup_{,range}_tag()
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/20171009151359.31984-15-jack@suse.cz
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Daniel Jordan <daniel.m.jordan@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page-writeback.c')
-rw-r--r-- | mm/page-writeback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c index 460fc022cbc8..231651a1486d 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c @@ -2197,7 +2197,7 @@ retry: int i; nr_pages = pagevec_lookup_range_tag(&pvec, mapping, &index, end, - tag, PAGEVEC_SIZE); + tag); if (nr_pages == 0) break; |