Skip to content

Commit

Permalink
ext4: Revert rejection of 64bit enabled ext4 fs
Browse files Browse the repository at this point in the history
Enable mounting of ext4 fs with 64bit feature, as it is supported now.
These had been disabled in 6f94ab6.

Signed-off-by: Stefan Brüns <[email protected]>
  • Loading branch information
StefanBruens authored and trini committed Sep 23, 2016
1 parent 749e93e commit b4976b4
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions fs/ext4/ext4_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b4976b4

Please sign in to comment.