f2fs: clean up w/ fscrypt_is_bounce_page()

[ Upstream commit 0c708e35cf26449ca317fcbfc274704660b6d269 ]

Just cleanup, no logic changes.

Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Chao Yu
2025-04-14 18:52:36 +08:00
committed by Greg Kroah-Hartman
parent 4b88a4dfbe
commit 43cec28049

View File

@@ -54,7 +54,7 @@ bool f2fs_is_cp_guaranteed(struct page *page)
struct inode *inode; struct inode *inode;
struct f2fs_sb_info *sbi; struct f2fs_sb_info *sbi;
if (!mapping) if (fscrypt_is_bounce_page(page))
return false; return false;
inode = mapping->host; inode = mapping->host;