From: Matthew Wilcox (Oracle) Date: Wed, 2 Oct 2024 04:01:05 +0000 (+0100) Subject: mm: Remove PageMappedToDisk X-Git-Tag: v6.13-rc1~227^2^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a04d5f82fa3893aa06386db93883b151b93b11ed;p=thirdparty%2Fkernel%2Flinux.git mm: Remove PageMappedToDisk All callers have now been converted to the folio APIs, so remove the page API for this flag. Signed-off-by: Matthew Wilcox (Oracle) Link: https://lore.kernel.org/r/20241002040111.1023018-4-willy@infradead.org Reviewed-by: Jan Kara Signed-off-by: Christian Brauner --- diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h index 1b3a767104878..35d08c30d4a63 100644 --- a/include/linux/page-flags.h +++ b/include/linux/page-flags.h @@ -554,7 +554,7 @@ FOLIO_FLAG(owner_2, FOLIO_HEAD_PAGE) */ TESTPAGEFLAG(Writeback, writeback, PF_NO_TAIL) TESTSCFLAG(Writeback, writeback, PF_NO_TAIL) -PAGEFLAG(MappedToDisk, mappedtodisk, PF_NO_TAIL) +FOLIO_FLAG(mappedtodisk, FOLIO_HEAD_PAGE) /* PG_readahead is only used for reads; PG_reclaim is only for writes */ PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL)