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) <willy@infradead.org> Link: https://lore.kernel.org/r/20241002040111.1023018-4-willy@infradead.org Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
1 parent a38117b commit a04d5f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)