summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/aops.c
diff options
context:
space:
mode:
authorJan Kara2017-11-16 02:35:19 +0100
committerLinus Torvalds2017-11-16 03:21:04 +0100
commit67fd707f468142d0f689a6240044bb45c1913003 (patch)
treeadd13c73b7b00d43e8f88f21f8c2b22dade5c9bb /fs/gfs2/aops.c
parentceph: use pagevec_lookup_range_nr_tag() (diff)
downloadkernel-qcow2-linux-67fd707f468142d0f689a6240044bb45c1913003.tar.gz
kernel-qcow2-linux-67fd707f468142d0f689a6240044bb45c1913003.tar.xz
kernel-qcow2-linux-67fd707f468142d0f689a6240044bb45c1913003.zip
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>
Diffstat (limited to 'fs/gfs2/aops.c')
-rw-r--r--fs/gfs2/aops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/aops.c b/fs/gfs2/aops.c
index d0848d9623fb..3fea3d7780b0 100644
--- a/fs/gfs2/aops.c
+++ b/fs/gfs2/aops.c
@@ -398,7 +398,7 @@ retry:
done_index = index;
while (!done && (index <= end)) {
nr_pages = pagevec_lookup_range_tag(&pvec, mapping, &index, end,
- tag, PAGEVEC_SIZE);
+ tag);
if (nr_pages == 0)
break;