diff options
Diffstat (limited to 'fs/ext4/resize.c')
-rw-r--r-- | fs/ext4/resize.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/resize.c b/fs/ext4/resize.c index b6ec1843a015..d448eb1d9bae 100644 --- a/fs/ext4/resize.c +++ b/fs/ext4/resize.c | |||
@@ -864,6 +864,7 @@ int ext4_group_add(struct super_block *sb, struct ext4_new_group_data *input) | |||
864 | ext4_inode_table_set(sb, gdp, input->inode_table); /* LV FIXME */ | 864 | ext4_inode_table_set(sb, gdp, input->inode_table); /* LV FIXME */ |
865 | gdp->bg_free_blocks_count = cpu_to_le16(input->free_blocks_count); | 865 | gdp->bg_free_blocks_count = cpu_to_le16(input->free_blocks_count); |
866 | gdp->bg_free_inodes_count = cpu_to_le16(EXT4_INODES_PER_GROUP(sb)); | 866 | gdp->bg_free_inodes_count = cpu_to_le16(EXT4_INODES_PER_GROUP(sb)); |
867 | gdp->bg_flags |= cpu_to_le16(EXT4_BG_INODE_ZEROED); | ||
867 | gdp->bg_checksum = ext4_group_desc_csum(sbi, input->group, gdp); | 868 | gdp->bg_checksum = ext4_group_desc_csum(sbi, input->group, gdp); |
868 | 869 | ||
869 | /* | 870 | /* |