From 7221743bb4e1584cddec6a28be90dd3cb02b6acb Mon Sep 17 00:00:00 2001 From: Chao Yu Date: Mon, 14 Apr 2025 18:52:36 +0800 Subject: [PATCH] UPSTREAM: f2fs: clean up w/ fscrypt_is_bounce_page() Just cleanup, no logic changes. Change-Id: I1efc407d4243f9ffdc3fe2f7fc1e9bfe303a0853 Signed-off-by: Chao Yu Signed-off-by: Jaegeuk Kim (cherry picked from commit 0c708e35cf26449ca317fcbfc274704660b6d269) --- fs/f2fs/data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 06b29afba9f2..81a066b89332 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -58,7 +58,7 @@ bool f2fs_is_cp_guaranteed(struct page *page) struct inode *inode; struct f2fs_sb_info *sbi; - if (!mapping) + if (fscrypt_is_bounce_page(page)) return false; inode = mapping->host;