ext4: Revert rejection of 64bit enabled ext4 fs
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Sat, 17 Sep 2016 00:10:12 +0000 (02:10 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 23 Sep 2016 13:20:16 +0000 (09:20 -0400)
Enable mounting of ext4 fs with 64bit feature, as it is supported now.
These had been disabled in 6f94ab6656ceffb3f2a972c8de4c554502b6f2b7.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
fs/ext4/ext4_common.c

index 1336068f9c2eae161a921c602ec6164d0d91d960..e78185b53b1581ec22800822d163bb578f585e0f 100644 (file)
@@ -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;