mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2024-11-27 04:00:57 +00:00
mkfs.f2fs: remove extent_cache entry for parent directory
Currently, directory should not have any extent cache entry. Otherwise, fsck.f2fs will trigger a false-alarmed report. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
9e5c021b67
commit
c8514f82aa
@ -769,8 +769,8 @@ static int f2fs_write_root_inode(void)
|
||||
raw_node->i.i_addr[0] = cpu_to_le32(data_blk_nor);
|
||||
|
||||
raw_node->i.i_ext.fofs = 0;
|
||||
raw_node->i.i_ext.blk_addr = cpu_to_le32(data_blk_nor);
|
||||
raw_node->i.i_ext.len = cpu_to_le32(1);
|
||||
raw_node->i.i_ext.blk_addr = 0;
|
||||
raw_node->i.i_ext.len = 0;
|
||||
|
||||
main_area_node_seg_blk_offset = get_sb(main_blkaddr);
|
||||
main_area_node_seg_blk_offset += config.cur_seg[CURSEG_HOT_NODE] *
|
||||
|
Loading…
Reference in New Issue
Block a user