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/f2fs.h | |
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/f2fs.h')
-rw-r--r-- | fs/f2fs/f2fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index e9ef971f4dba..dd530dc70005 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -4660,7 +4660,7 @@ static inline void f2fs_truncate_meta_inode_pages(struct f2fs_sb_info *sbi, page = find_get_page(META_MAPPING(sbi), blkaddr + i); if (page) { - if (PageWriteback(page)) + if (folio_test_writeback(page_folio(page))) need_submit = true; f2fs_put_page(page, 0); } |