On 8/29/22 8:26 PM, Matthew Wilcox wrote:
On Mon, Aug 29, 2022 at 04:00:12PM -0700, Sidhartha Kumar wrote:
static void hugetlb_delete_from_page_cache(struct page *page)
{
- ClearPageDirty(page);
- ClearPageUptodate(page);
- delete_from_page_cache(page);
+ folio_clear_dirty(folio);
+ folio_clear_uptodate(folio);
+ filemap_remove_folio(folio);
}
Did you send the right version of this patch? It doesn't look like it'll
compile.
I missed changing the function argument to struct folio while rebasing
onto Mike's patch,
will fix in a v2.