f2fs: clean up w/ fscrypt_is_bounce_page()

[ Upstream commit 0c708e35cf ]

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 03a4c0d03e
commit a78a8d86fe

View File

@ -77,7 +77,7 @@ static bool __is_cp_guaranteed(struct page *page)
struct inode *inode;
struct f2fs_sb_info *sbi;
if (!mapping)
if (fscrypt_is_bounce_page(page))
return false;
if (f2fs_is_compressed_page(page))