ref: 69eb74b93f64af428c2cb7a7da7bd03d3929a106
parent: 381472b60a9ff25f0e0cbf535af7d0b786810210
author: gkostka <kostka.grzegorz@gmail.com>
date: Mon Nov 16 18:04:45 EST 2015
Mkfs works for ext2/ext3 features
--- a/lwext4/ext4_mkfs.c
+++ b/lwext4/ext4_mkfs.c
@@ -289,6 +289,8 @@
bg_start_block++;
blk_off += info->bg_desc_reserve_blocks;
bg_free_blk -= info->bg_desc_reserve_blocks + 1;
+ } else {
+ bg_free_blk++;
}
ext4_bg_set_block_bitmap(&aux_info->bg_desc[i], aux_info->sb,
@@ -600,6 +602,7 @@
info->feat_incompat = EXT3_SUPPORTED_FINCOM;
info->feat_incompat &= ~EXT4_FINCOM_META_BG;
+ info->feat_ro_compat &= ~EXT4_FRO_COM_METADATA_CSUM;
if (info->no_journal == 0)
info->feat_compat |= 0;