mm: remove nr_pages argument from pagevec_lookup{,_range}()
authorJan Kara <jack@suse.cz>
Wed, 6 Sep 2017 23:21:43 +0000 (16:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Sep 2017 00:27:27 +0000 (17:27 -0700)
commit397162ffa2ed1cadffe05c324c6ddc53647f9c62
tree4a084bf8baee85c2b0624bba4907ceb72ace416c
parentf7b68046873724129798c405e1a4e326b409c08f
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>
fs/buffer.c
fs/ext4/file.c
fs/ext4/inode.c
fs/fscache/page.c
fs/hugetlbfs/inode.c
fs/nilfs2/page.c
include/linux/pagevec.h
mm/swap.c