diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2024-10-02 05:01:05 +0100 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-10-04 09:24:24 +0200 |
commit | a04d5f82fa3893aa06386db93883b151b93b11ed (patch) | |
tree | 358dcbd866ad49f417c48e7ce7e37c46126062c6 | |
parent | a38117bc0de674c7bed5b4c6c15af4a9deeea17d (diff) | |
download | linux-a04d5f82fa3893aa06386db93883b151b93b11ed.tar.gz linux-a04d5f82fa3893aa06386db93883b151b93b11ed.tar.bz2 linux-a04d5f82fa3893aa06386db93883b151b93b11ed.zip |
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>
-rw-r--r-- | include/linux/page-flags.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h index 1b3a76710487..35d08c30d4a6 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) |