summaryrefslogtreecommitdiffstats
path: root/mm/swap_state.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2022-02-09 21:22:10 +0100
committerMatthew Wilcox (Oracle) <willy@infradead.org>2022-03-15 13:34:38 +0100
commit7e63df00cf5e609ebbee5ffbc3df1900d8a4443c (patch)
treee3350ffaed6685e7a6ae8a481772f5769cf5ab0d /mm/swap_state.c
parentubifs: Convert ubifs_set_page_dirty to ubifs_dirty_folio (diff)
downloadlinux-7e63df00cf5e609ebbee5ffbc3df1900d8a4443c.tar.xz
linux-7e63df00cf5e609ebbee5ffbc3df1900d8a4443c.zip
mm: Convert swap_set_page_dirty() to swap_dirty_folio()
Straightforward conversion. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Tested-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Acked-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Tested-by: Mike Marshall <hubcap@omnibond.com> # orangefs Tested-by: David Howells <dhowells@redhat.com> # afs
Diffstat (limited to 'mm/swap_state.c')
-rw-r--r--mm/swap_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/swap_state.c b/mm/swap_state.c
index 8d4104242100..4772afd08101 100644
--- a/mm/swap_state.c
+++ b/mm/swap_state.c
@@ -30,7 +30,7 @@
*/
static const struct address_space_operations swap_aops = {
.writepage = swap_writepage,
- .set_page_dirty = swap_set_page_dirty,
+ .dirty_folio = swap_dirty_folio,
#ifdef CONFIG_MIGRATION
.migratepage = migrate_page,
#endif