summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/checkpoint.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2025-03-31 21:10:36 +0100
committerJaegeuk Kim <jaegeuk@kernel.org>2025-04-28 15:22:44 +0000
commit937d6a4d2c21bf02d10967d1f6e2d2afe61c99c2 (patch)
tree4e52ced97eadf1a602893cd9ee4c7d0bcab0076a /fs/f2fs/checkpoint.c
parentf2fs: Convert __get_meta_page() to __get_meta_folio() (diff)
downloadlinux-937d6a4d2c21bf02d10967d1f6e2d2afe61c99c2.tar.gz
linux-937d6a4d2c21bf02d10967d1f6e2d2afe61c99c2.zip
f2fs: Convert f2fs_get_tmp_page() to f2fs_get_tmp_folio()
Convert all the callers to receive a folio. Removes a lot of hidden calls to compound_head() in f2fs_put_page(). Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/checkpoint.c')
-rw-r--r--fs/f2fs/checkpoint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c
index 00de4d06e579..1820cb14f716 100644
--- a/fs/f2fs/checkpoint.c
+++ b/fs/f2fs/checkpoint.c
@@ -129,9 +129,9 @@ retry:
}
/* for POR only */
-struct page *f2fs_get_tmp_page(struct f2fs_sb_info *sbi, pgoff_t index)
+struct folio *f2fs_get_tmp_folio(struct f2fs_sb_info *sbi, pgoff_t index)
{
- return &__get_meta_folio(sbi, index, false)->page;
+ return __get_meta_folio(sbi, index, false);
}
static bool __is_bitmap_valid(struct f2fs_sb_info *sbi, block_t blkaddr,