Commit 3cc5bbb8 authored by Stefan Brüns's avatar Stefan Brüns Committed by Tom Rini

fs/ext4: Initialize group descriptor size for revision level 0 filesystems

genext2fs creates revision level 0 filesystems, which are not readable
by u-boot due to the initialized group descriptor size field.
f798b1ddReported-by: default avatarKever Yang <>
Signed-off-by: default avatarStefan Brüns <>
Tested-by: default avatarKever Yang <>
parent 139f7b1d
......@@ -2334,6 +2334,7 @@ int ext4fs_mount(unsigned part_length)
if (le32_to_cpu(data->sblock.revision_level) == 0) {
fs->inodesz = 128;
fs->gdsize = 32;
} else {
debug("EXT4 features COMPAT: %08x INCOMPAT: %08x RO_COMPAT: %08x\n",
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment