OSDN Git Service

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>
Mon, 9 Jul 2018 00:37:49 +0000 (17:37 -0700)
commit91e7d9d2ddbfda40393c8400e3d0b4852ea3c6d0
tree14759d6cc990bb8fbd66b9f4f14debe75aaa2476
parentfeb94dc82928286a323576eaaadfec057d474112
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