f2fs: Use a folio in f2fs_is_cp_guaranteed()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 8 Jul 2025 17:03:36 +0000 (18:03 +0100)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 22 Jul 2025 15:57:09 +0000 (15:57 +0000)
commita824388d911927b2a82bf7dcfd7cef6ee45c8b43
treed3512fcd0eddabdbf010006c1b416e1052ae95bd
parent4ecaf580ee3520265350d0433755dc080f118afa
f2fs: Use a folio in f2fs_is_cp_guaranteed()

Convert the passed page to a folio and use it throughout.  Removes
a use of fscrypt_is_bounce_page(), which we're trying to remove.

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/data.c
fs/f2fs/f2fs.h
include/linux/fscrypt.h