summaryrefslogtreecommitdiff
path: root/fs/ntfs
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2022-02-09 20:22:03 +0000
committerMatthew Wilcox (Oracle) <willy@infradead.org>2022-03-15 08:34:38 -0400
commit187c82cb03808ede4ee6f36aabbeb74213cd4928 (patch)
treec923a9497b98d4b49b1c90a29e44685f59977c28 /fs/ntfs
parent0079c3b17631c206eed77a8a17c513cc162b9f8d (diff)
downloadlinux-rpi-187c82cb03808ede4ee6f36aabbeb74213cd4928.tar.gz
linux-rpi-187c82cb03808ede4ee6f36aabbeb74213cd4928.tar.bz2
linux-rpi-187c82cb03808ede4ee6f36aabbeb74213cd4928.zip
fs: Convert trivial uses of __set_page_dirty_nobuffers to filemap_dirty_folio
These filesystems use __set_page_dirty_nobuffers() either directly or with a very thin wrapper; convert them en masse. 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 'fs/ntfs')
-rw-r--r--fs/ntfs/aops.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/ntfs/aops.c b/fs/ntfs/aops.c
index 6858bf6df49a..dd71f6ac0272 100644
--- a/fs/ntfs/aops.c
+++ b/fs/ntfs/aops.c
@@ -1684,9 +1684,7 @@ const struct address_space_operations ntfs_mst_aops = {
.readpage = ntfs_readpage, /* Fill page with data. */
#ifdef NTFS_RW
.writepage = ntfs_writepage, /* Write dirty page to disk. */
- .set_page_dirty = __set_page_dirty_nobuffers, /* Set the page dirty
- without touching the buffers
- belonging to the page. */
+ .dirty_folio = filemap_dirty_folio,
#endif /* NTFS_RW */
.migratepage = buffer_migrate_page,
.is_partially_uptodate = block_is_partially_uptodate,