mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-29 10:01:43 +00:00
ext4: Revert rejection of 64bit enabled ext4 fs
Enable mounting of ext4 fs with 64bit feature, as it is supported now.
These had been disabled in 6f94ab6656
.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
This commit is contained in:
parent
749e93ee18
commit
b4976b49a0
1 changed files with 0 additions and 9 deletions
|
@ -2339,15 +2339,6 @@ int ext4fs_mount(unsigned part_length)
|
||||||
if (le16_to_cpu(data->sblock.magic) != EXT2_MAGIC)
|
if (le16_to_cpu(data->sblock.magic) != EXT2_MAGIC)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
/*
|
|
||||||
* The 64bit feature was enabled when metadata_csum was enabled
|
|
||||||
* and we do not support metadata_csum (and cannot reliably find
|
|
||||||
* files when it is set. Refuse to mount.
|
|
||||||
*/
|
|
||||||
if (le32_to_cpu(data->sblock.feature_incompat) & EXT4_FEATURE_INCOMPAT_64BIT) {
|
|
||||||
printf("Unsupported feature found (64bit, possibly metadata_csum), not mounting\n");
|
|
||||||
goto fail;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (le32_to_cpu(data->sblock.revision_level) == 0) {
|
if (le32_to_cpu(data->sblock.revision_level) == 0) {
|
||||||
fs->inodesz = 128;
|
fs->inodesz = 128;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue