diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-05-07 15:05:06 -0400 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-10-18 07:49:39 -0400 |
commit | 715cbfd6c5c595bc8b7a6f9ad1fe9fec0122bb20 (patch) | |
tree | 029dfa5ed425a0a06fc6c00885c68f3eeaaf2b5e /include/linux/mm.h | |
parent | 19138349ed59b90ce58aca319b873eca2e04ad43 (diff) | |
download | lwn-715cbfd6c5c595bc8b7a6f9ad1fe9fec0122bb20.tar.gz lwn-715cbfd6c5c595bc8b7a6f9ad1fe9fec0122bb20.zip |
mm/migrate: Add folio_migrate_copy()
This is the folio equivalent of migrate_page_copy(), which is retained
as a wrapper for filesystems which are not yet converted to folios.
Also convert copy_huge_page() to folio_copy().
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Zi Yan <ziy@nvidia.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r-- | include/linux/mm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index c28cace6fe6b..93d5fbe2e4e3 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -912,7 +912,7 @@ void __put_page(struct page *page); void put_pages_list(struct list_head *pages); void split_page(struct page *page, unsigned int order); -void copy_huge_page(struct page *dst, struct page *src); +void folio_copy(struct folio *dst, struct folio *src); /* * Compound pages have a destructor function. Provide a |