mm: remove nr_pages argument from pagevec_lookup_{,range}_tag()
authorJan Kara <jack@suse.cz>
Thu, 16 Nov 2017 01:35:19 +0000 (17:35 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Nov 2017 02:21:04 +0000 (18:21 -0800)
commit67fd707f468142d0f689a6240044bb45c1913003
treeadd13c73b7b00d43e8f88f21f8c2b22dade5c9bb
parent4be90299a1693c2112edb20ca78d6cc9f2183326
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>
14 files changed:
fs/btrfs/extent_io.c
fs/ceph/addr.c
fs/ext4/inode.c
fs/f2fs/checkpoint.c
fs/f2fs/data.c
fs/f2fs/node.c
fs/gfs2/aops.c
fs/nilfs2/btree.c
fs/nilfs2/page.c
fs/nilfs2/segment.c
include/linux/pagevec.h
mm/filemap.c
mm/page-writeback.c
mm/swap.c