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>
master
Stefan Brüns 8 years ago committed by Tom Rini
parent 749e93ee18
commit b4976b49a0
  1. 9
      fs/ext4/ext4_common.c

@ -2339,15 +2339,6 @@ int ext4fs_mount(unsigned part_length)
if (le16_to_cpu(data->sblock.magic) != EXT2_MAGIC)
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) {
fs->inodesz = 128;

Loading…
Cancel
Save