[U-Boot] ext4: massive corruption with ext4write
Wolfgang Denk
wd at denx.de
Thu Jul 26 13:32:06 UTC 2018
Dear Aaron,
In message <6444410.LK6WS1oxaM at awilliams-suse> you wrote:
>
...
> While mainline U-Boot does not support Octeon, we have our own fork of it that
> I maintain. I am using the 2018.07 release with only a few minor changes
> around the periphery to support the older version of U-Boot Octeon is based
> off of. I found one source of the corruption in ext4fs_get_new_inode_no()
> where it is setting bgd->bg_itable_unused without cpu_to_le16, which causes
> this to break on big-endian systems. Additionally, for 64-bit filesystems,
> bg_itable_unused_high never gets set.
So when you know the/one cause of the problems, and how to fix it,
then why don't you submit a patch?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Computers are not intelligent. They only think they are.
More information about the U-Boot
mailing list