diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2024-03-27 01:27:02 +0000 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2024-04-12 20:58:35 +0000 |
commit | 16778aea91869756cad3e07c9ce8ef32a660358c (patch) | |
tree | 3edf5a2d22a1934200a66f176b3bdc2e5d48dc6d /fs/f2fs/inode.c | |
parent | fa18d87cb20fbe597047704babae3850a7a65219 (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/inode.c')
-rw-r--r-- | fs/f2fs/inode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/f2fs/inode.c b/fs/f2fs/inode.c index 12b1fef31f43..d7a5a88a1a5e 100644 --- a/fs/f2fs/inode.c +++ b/fs/f2fs/inode.c @@ -161,7 +161,8 @@ bool f2fs_inode_chksum_verify(struct f2fs_sb_info *sbi, struct page *page) if (!f2fs_enable_inode_chksum(sbi, page)) #else if (!f2fs_enable_inode_chksum(sbi, page) || - PageDirty(page) || PageWriteback(page)) + PageDirty(page) || + folio_test_writeback(page_folio(page))) #endif return true; |