On Fri 29-09-17 17:46:24, Daniel Jordan wrote: > On 09/27/2017 12:03 PM, Jan Kara wrote: > >All users of pagevec_lookup() and pagevec_lookup_range() now pass > >PAGEVEC_SIZE as a desired number of pages. Just drop the argument. > > > >Signed-off-by: Jan Kara <jack@xxxxxxx> > >--- > > fs/btrfs/extent_io.c | 6 +++--- > > There's one place that got missed in fs/ceph/addr.c: Ah, that's probably from a rebase I did. Thanks for catching this! Honza > > diff --git a/fs/ceph/addr.c b/fs/ceph/addr.c > index 87789c477381..ee68b3db6729 100644 > --- a/fs/ceph/addr.c > +++ b/fs/ceph/addr.c > @@ -1161,8 +1161,7 @@ static int ceph_writepages_start(struct address_space > *mapping, > index = 0; > while ((index <= end) && > (nr = pagevec_lookup_tag(&pvec, mapping, > &index, > - PAGECACHE_TAG_WRITEBACK, > - PAGEVEC_SIZE))) { > + PAGECACHE_TAG_WRITEBACK))) { > for (i = 0; i < nr; i++) { > page = pvec.pages[i]; > if (page_snap_context(page) != > snapc) > > > Daniel -- Jan Kara <jack@xxxxxxxx> SUSE Labs, CR