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>
Showing
- fs/btrfs/extent_io.c 3 additions, 3 deletionsfs/btrfs/extent_io.c
- fs/ceph/addr.c 1 addition, 2 deletionsfs/ceph/addr.c
- fs/ext4/inode.c 1 addition, 1 deletionfs/ext4/inode.c
- fs/f2fs/checkpoint.c 1 addition, 1 deletionfs/f2fs/checkpoint.c
- fs/f2fs/data.c 1 addition, 1 deletionfs/f2fs/data.c
- fs/f2fs/node.c 4 additions, 4 deletionsfs/f2fs/node.c
- fs/gfs2/aops.c 1 addition, 1 deletionfs/gfs2/aops.c
- fs/nilfs2/btree.c 2 additions, 2 deletionsfs/nilfs2/btree.c
- fs/nilfs2/page.c 3 additions, 4 deletionsfs/nilfs2/page.c
- fs/nilfs2/segment.c 3 additions, 3 deletionsfs/nilfs2/segment.c
- include/linux/pagevec.h 3 additions, 5 deletionsinclude/linux/pagevec.h
- mm/filemap.c 1 addition, 1 deletionmm/filemap.c
- mm/page-writeback.c 1 addition, 1 deletionmm/page-writeback.c
- mm/swap.c 2 additions, 2 deletionsmm/swap.c
Please register or sign in to comment