public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] f2fs: clean up w/ fscrypt_is_bounce_page()
@ 2025-04-14 10:52 Chao Yu
  2025-04-14 10:52 ` [PATCH 2/2] f2fs: fix to detect gcing page in f2fs_is_cp_guaranteed() Chao Yu
  2025-04-28 22:40 ` [f2fs-dev] [PATCH 1/2] f2fs: clean up w/ fscrypt_is_bounce_page() patchwork-bot+f2fs
  0 siblings, 2 replies; 3+ messages in thread
From: Chao Yu @ 2025-04-14 10:52 UTC (permalink / raw)
  To: jaegeuk; +Cc: linux-f2fs-devel, linux-kernel, Chao Yu

Just cleanup, no logic changes.

Signed-off-by: Chao Yu <chao@kernel.org>
---
 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 1a90aca499f6..4f70755c30cc 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;
-- 
2.49.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-04-28 22:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-14 10:52 [PATCH 1/2] f2fs: clean up w/ fscrypt_is_bounce_page() Chao Yu
2025-04-14 10:52 ` [PATCH 2/2] f2fs: fix to detect gcing page in f2fs_is_cp_guaranteed() Chao Yu
2025-04-28 22:40 ` [f2fs-dev] [PATCH 1/2] f2fs: clean up w/ fscrypt_is_bounce_page() patchwork-bot+f2fs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox