Skip to content

Commit 0c708e3

Browse files
chaseyuJaegeuk Kim
authored andcommitted
f2fs: clean up w/ fscrypt_is_bounce_page()
Just cleanup, no logic changes. Signed-off-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
1 parent f16ebe0 commit 0c708e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/f2fs/data.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ bool f2fs_is_cp_guaranteed(struct page *page)
5353
struct inode *inode;
5454
struct f2fs_sb_info *sbi;
5555

56-
if (!mapping)
56+
if (fscrypt_is_bounce_page(page))
5757
return false;
5858

5959
inode = mapping->host;

0 commit comments

Comments
 (0)