From: Chao Yu Date: Mon, 14 Apr 2025 10:52:36 +0000 (+0800) Subject: f2fs: clean up w/ fscrypt_is_bounce_page() X-Git-Tag: v6.16-rc1~115^2~29 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=0c708e35cf26449ca317fcbfc274704660b6d269;p=linux-block.git f2fs: clean up w/ fscrypt_is_bounce_page() Just cleanup, no logic changes. Signed-off-by: Chao Yu Signed-off-by: Jaegeuk Kim --- diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 03e7129d5e16..0b5c6d5a28e1 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -53,7 +53,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;