diff options
| author | Chao Yu <chao@kernel.org> | 2025-04-14 18:52:36 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-06-19 15:28:12 +0200 |
| commit | 43cec280496a75d1c9303a6bfc3fd922db4592ff (patch) | |
| tree | e85d5eb883c5daf0f54e4edcb446ccfe2efe94a5 /fs | |
| parent | 4b88a4dfbea0ef1553b75d6e0b3f1b1e2831476a (diff) | |
| download | linux-43cec280496a75d1c9303a6bfc3fd922db4592ff.tar.gz linux-43cec280496a75d1c9303a6bfc3fd922db4592ff.tar.bz2 linux-43cec280496a75d1c9303a6bfc3fd922db4592ff.zip | |
f2fs: clean up w/ fscrypt_is_bounce_page()
[ Upstream commit 0c708e35cf26449ca317fcbfc274704660b6d269 ]
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>
Diffstat (limited to 'fs')
| -rw-r--r-- | fs/f2fs/data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index acd0764b0286..5a3fa2f887a7 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -54,7 +54,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; |
