Skip to content

Commit a04d5f8

Browse files
Matthew Wilcox (Oracle)brauner
authored andcommitted
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) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Jan Kara <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
1 parent a38117b commit a04d5f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/page-flags.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ FOLIO_FLAG(owner_2, FOLIO_HEAD_PAGE)
554554
*/
555555
TESTPAGEFLAG(Writeback, writeback, PF_NO_TAIL)
556556
TESTSCFLAG(Writeback, writeback, PF_NO_TAIL)
557-
PAGEFLAG(MappedToDisk, mappedtodisk, PF_NO_TAIL)
557+
FOLIO_FLAG(mappedtodisk, FOLIO_HEAD_PAGE)
558558

559559
/* PG_readahead is only used for reads; PG_reclaim is only for writes */
560560
PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL)

0 commit comments

Comments
 (0)