http://bugzilla.suse.com/show_bug.cgi?id=989284
http://bugzilla.suse.com/show_bug.cgi?id=989284#c13
--- Comment #13 from Jan Kara ---
OK. So u-boot fails not because it would check feature bits in superblock and
find a feature that it does not understand but because it tries to use the
values in group descriptors and fails.
Let me make one thing clear: U-boot support of ext2 / ext4 is *dangerous*. Any
ext? driver must check feature bits in the superblock and make sure it
understands *each* set bit in the feature_incompat set. If it intends to write
to the filesystem, it must also make sure it understand *each* set bit in the
feature_ro_compat set. U-boot seems to completely ignore feature bits and thus
can read garbage or corrupt filesystem because of filesystem features it does
not understand. The same holds for journal feature bits.
And I understand this means that u-boot may refuse to touch filesystems which
it previously was able to access and it is a tedious task to propely implement
all ext? features u-boot may need to support to access the filesystem but
returning garbage or corrupting filesystem is worse.
--
You are receiving this mail because:
You are on the CC list for the bug.