diff mbox

[U-Boot,7/7] ext4: Revert rejection of 64bit enabled ext4 fs

Message ID 598e9ee76cf644968dec3632ff068e2c@rwthex-w2-b.rwth-ad.de
State Accepted
Commit b4976b49a01ac68f7dbb33657a44dcffe584fa4a
Delegated to: Tom Rini
Headers show

Commit Message

Stefan Brüns Sept. 17, 2016, 12:10 a.m. UTC
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 | 9 ---------
 1 file changed, 9 deletions(-)

Comments

Tom Rini Sept. 23, 2016, 7:56 p.m. UTC | #1
On Sat, Sep 17, 2016 at 02:10:12AM +0200, Stefan Brüns wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/fs/ext4/ext4_common.c b/fs/ext4/ext4_common.c
index 61c4d19..bd81744 100644
--- a/fs/ext4/ext4_common.c
+++ b/fs/ext4/ext4_common.c
@@ -2337,15 +2337,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;