summaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/page.h
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2023-11-14 17:44:24 +0900
committerAndrew Morton <akpm@linux-foundation.org>2023-12-10 17:21:27 -0800
commit5d3b5903d46bfdff6f23767909a6b3c2a5d702f4 (patch)
treef62b69ccb1334e20f7100b03e566aa9fa3a119d3 /fs/nilfs2/page.h
parent021cff9df677f108dd7cdb6c5d8189acec91682c (diff)
downloadlinux-5d3b5903d46bfdff6f23767909a6b3c2a5d702f4.tar.gz
linux-5d3b5903d46bfdff6f23767909a6b3c2a5d702f4.tar.bz2
linux-5d3b5903d46bfdff6f23767909a6b3c2a5d702f4.zip
nilfs2: convert to nilfs_clear_folio_dirty()
All callers of nilfs_clear_dirty_page() now have a folio, so rename the function and pass in the folio. Saves three hidden calls to compound_head(). Link: https://lkml.kernel.org/r/20231114084436.2755-9-konishi.ryusuke@gmail.com Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/nilfs2/page.h')
-rw-r--r--fs/nilfs2/page.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nilfs2/page.h b/fs/nilfs2/page.h
index a8ab800e689c..c419bb1f5b7d 100644
--- a/fs/nilfs2/page.h
+++ b/fs/nilfs2/page.h
@@ -41,7 +41,7 @@ void nilfs_page_bug(struct page *);
int nilfs_copy_dirty_pages(struct address_space *, struct address_space *);
void nilfs_copy_back_pages(struct address_space *, struct address_space *);
-void nilfs_clear_dirty_page(struct page *, bool);
+void nilfs_clear_folio_dirty(struct folio *, bool);
void nilfs_clear_dirty_pages(struct address_space *, bool);
unsigned int nilfs_page_count_clean_buffers(struct page *, unsigned int,
unsigned int);