On Thu, Dec 23, 2021 at 03:18:34PM +0000, Matthew Wilcox wrote: > > > +static struct page *do_read_cache_page(struct address_space *mapping, > > > + pgoff_t index, filler_t *filler, void *data, gfp_t gfp) > > > +{ > > > + struct folio *folio = read_cache_folio(mapping, index, filler, data); > > > + if (IS_ERR(folio)) > > > + return &folio->page; > > > + return folio_file_page(folio, index); > > > +} > > > > This drops the gfp on the floor. > > Oops. Will fix. For the record, this fix: - struct folio *folio = read_cache_folio(mapping, index, filler, data); + struct folio *folio; + + folio = do_read_cache_folio(mapping, index, filler, data, gfp);