aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/segment.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/f2fs/segment.c')
-rw-r--r--fs/f2fs/segment.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c
index 555ae7693ea0..5f84639354e3 100644
--- a/fs/f2fs/segment.c
+++ b/fs/f2fs/segment.c
@@ -924,16 +924,12 @@ void write_meta_page(struct f2fs_sb_info *sbi, struct page *page)
924} 924}
925 925
926void write_node_page(struct f2fs_sb_info *sbi, struct page *page, 926void write_node_page(struct f2fs_sb_info *sbi, struct page *page,
927 struct f2fs_io_info *fio,
927 unsigned int nid, block_t old_blkaddr, block_t *new_blkaddr) 928 unsigned int nid, block_t old_blkaddr, block_t *new_blkaddr)
928{ 929{
929 struct f2fs_summary sum; 930 struct f2fs_summary sum;
930 struct f2fs_io_info fio = {
931 .type = NODE,
932 .rw = WRITE_SYNC,
933 };
934
935 set_summary(&sum, nid, 0, 0); 931 set_summary(&sum, nid, 0, 0);
936 do_write_page(sbi, page, old_blkaddr, new_blkaddr, &sum, &fio); 932 do_write_page(sbi, page, old_blkaddr, new_blkaddr, &sum, fio);
937} 933}
938 934
939void write_data_page(struct page *page, struct dnode_of_data *dn, 935void write_data_page(struct page *page, struct dnode_of_data *dn,