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)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 28 Jun 2018 22:49:24 +0000 (15:49 -0700)
commitc806c4187a0ba67bffe87251a038ac95801fe1f1
tree3f4ae8ca8012b72ac75e7d966ef59f860a2aebf0
parent8aa71a32950355bea904f0444f801f5ae691e3fe
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