diff options
author | Jan Kara <jack@suse.cz> | 2017-09-07 01:21:43 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-09-07 02:27:27 +0200 |
commit | 397162ffa2ed1cadffe05c324c6ddc53647f9c62 (patch) | |
tree | 4a084bf8baee85c2b0624bba4907ceb72ace416c /fs/nilfs2 | |
parent | mm: use find_get_pages_range() in filemap_range_has_page() (diff) | |
download | linux-397162ffa2ed1cadffe05c324c6ddc53647f9c62.tar.xz linux-397162ffa2ed1cadffe05c324c6ddc53647f9c62.zip |
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/20170726114704.7626-11-jack@suse.cz
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nilfs2')
-rw-r--r-- | fs/nilfs2/page.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nilfs2/page.c b/fs/nilfs2/page.c index 382a36c72d72..8616c46d33da 100644 --- a/fs/nilfs2/page.c +++ b/fs/nilfs2/page.c @@ -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; |