summaryrefslogtreecommitdiff
path: root/fs/f2fs/data.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2024-03-27 01:27:02 +0000
committerJaegeuk Kim <jaegeuk@kernel.org>2024-04-12 20:58:35 +0000
commit16778aea91869756cad3e07c9ce8ef32a660358c (patch)
tree3edf5a2d22a1934200a66f176b3bdc2e5d48dc6d /fs/f2fs/data.c
parentfa18d87cb20fbe597047704babae3850a7a65219 (diff)
f2fs: use folio_test_writeback
Let's convert PageWriteback to folio_test_writeback. Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/data.c')
-rw-r--r--fs/f2fs/data.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
index 0d88649c60a5..5d641fac02ba 100644
--- a/fs/f2fs/data.c
+++ b/fs/f2fs/data.c
@@ -2704,8 +2704,7 @@ got_it:
if (err) {
if (fscrypt_inode_uses_fs_layer_crypto(inode))
fscrypt_finalize_bounce_page(&fio->encrypted_page);
- if (PageWriteback(page))
- end_page_writeback(page);
+ end_page_writeback(page);
} else {
set_inode_flag(inode, FI_UPDATE_WRITE);
}