f2fs: Convert get_next_sit_page() to get_next_sit_folio()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 31 Mar 2025 20:10:42 +0000 (21:10 +0100)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 28 Apr 2025 15:26:29 +0000 (15:26 +0000)
commit9c6b0f120e114a2294ba36b460d493152dc7655c
tree4042cabe07a345d37074fe8910e2705679cd5d6d
parent5df510c8df691a523ea1a4c81a06eaaf1ec4968f
f2fs: Convert get_next_sit_page() to get_next_sit_folio()

Grab a folio instead of a page.  Also convert seg_info_to_sit_page() to
seg_info_to_sit_folio() and use a folio in f2fs_flush_sit_entries().
Saves a couple of calls to compound_head().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c
fs/f2fs/segment.h