diff options
-rw-r--r-- | ext4_utils/allocate.c | 2 | ||||
-rw-r--r-- | ext4_utils/make_ext4fs.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ext4_utils/allocate.c b/ext4_utils/allocate.c index 0c99e913..f5fd4fa0 100644 --- a/ext4_utils/allocate.c +++ b/ext4_utils/allocate.c @@ -277,7 +277,7 @@ static void init_bg(struct block_group_info *bg, unsigned int i) bg->free_blocks = info.blocks_per_group; bg->free_inodes = info.inodes_per_group; bg->first_free_inode = 1; - bg->flags = 0; + bg->flags = EXT4_BG_INODE_UNINIT; bg->chunk_count = 0; bg->max_chunk_count = 1; diff --git a/ext4_utils/make_ext4fs.c b/ext4_utils/make_ext4fs.c index 1a6c0c1c..6083ceaa 100644 --- a/ext4_utils/make_ext4fs.c +++ b/ext4_utils/make_ext4fs.c @@ -749,7 +749,8 @@ int make_ext4fs_internal(int fd, const char *_directory, const char *_target_out info.feat_ro_compat |= EXT4_FEATURE_RO_COMPAT_SPARSE_SUPER | - EXT4_FEATURE_RO_COMPAT_LARGE_FILE; + EXT4_FEATURE_RO_COMPAT_LARGE_FILE | + EXT4_FEATURE_RO_COMPAT_GDT_CSUM; info.feat_incompat |= EXT4_FEATURE_INCOMPAT_EXTENTS | |