f2fs: Use a folio in f2fs_get_valid_checkpoint()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 31 Mar 2025 20:10:51 +0000 (21:10 +0100)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 28 Apr 2025 15:26:30 +0000 (15:26 +0000)
commiteb639c85624e6cd0717f0dd27d27925c7aa37648
tree2ae18dd69de2ce6487eda684569e78ffd77ad14c
parenta2c746eac30e3aac6b720c7e3fa27e1e417d8292
f2fs: Use a folio in f2fs_get_valid_checkpoint()

Convert validate_checkpoint() to return a folio and use it throughout
f2fs_get_valid_checkpoint().  Saves five hidden 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/checkpoint.c