Message ID | AANLkTin-q=dOHRh2TB9PtUyvB2YcbLTz+en_aTp+voVU@mail.gmail.com |
---|---|
State | New, archived |
Headers | show |
diff --git a/misc/mke2fs.c b/misc/mke2fs.c index add7c0c..b1a6d62 100644 --- a/misc/mke2fs.c +++ b/misc/mke2fs.c @@ -722,6 +722,8 @@ static void parse_extended_opts(struct ext2_super_block *param, bpg = param->s_blocks_per_group; if (!bpg) bpg = blocksize * 8; + if (!param->s_desc_size && (param->s_feature_incompat & EXT4_FEATURE_INCOMPAT_64BIT)) + param->s_desc_size = EXT2_MIN_DESC_SIZE_64BIT; gdpb = EXT2_DESC_PER_BLOCK(param);