From patchwork Sat Sep 17 00:10:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Stefan_Br=C3=BCns?= X-Patchwork-Id: 671197 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3sbXdf13pbz9s9N for ; Sat, 17 Sep 2016 10:12:06 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8747D4BF90; Sat, 17 Sep 2016 02:11:34 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id szE0NB6ObK0m; Sat, 17 Sep 2016 02:11:34 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id EBFFCA75AA; Sat, 17 Sep 2016 02:11:01 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5267A4B71E for ; Sat, 17 Sep 2016 02:10:42 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2V_-v8Mgh7Rq for ; Sat, 17 Sep 2016 02:10:42 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mx-out-1.rwth-aachen.de (mx-out-1.rwth-aachen.de [134.130.5.186]) by theia.denx.de (Postfix) with ESMTPS id 145FB4B6B3 for ; Sat, 17 Sep 2016 02:10:39 +0200 (CEST) X-IronPort-AV: E=Sophos;i="5.30,347,1470693600"; d="scan'208";a="547901383" Received: from rwthex-w2-b.rwth-ad.de ([134.130.26.159]) by mx-1.rz.rwth-aachen.de with ESMTP; 17 Sep 2016 02:10:39 +0200 Received: from pebbles.fritz.box (77.182.221.0) by rwthex-w2-b.rwth-ad.de (2002:8682:1a9f::8682:1a9f) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Sat, 17 Sep 2016 02:11:37 +0200 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= To: Date: Sat, 17 Sep 2016 02:10:12 +0200 X-Mailer: git-send-email 2.10.0 In-Reply-To: <20160917001012.10498-1-stefan.bruens@rwth-aachen.de> References: <20160917001012.10498-1-stefan.bruens@rwth-aachen.de> MIME-Version: 1.0 X-Originating-IP: [77.182.221.0] X-ClientProxiedBy: rwthex-w1-b.rwth-ad.de (2002:8682:1a9d::8682:1a9d) To rwthex-w2-b.rwth-ad.de (2002:8682:1a9f::8682:1a9f) Message-ID: <598e9ee76cf644968dec3632ff068e2c@rwthex-w2-b.rwth-ad.de> Cc: Stephen Warren , Stefan Roese Subject: [U-Boot] [PATCH 7/7] ext4: Revert rejection of 64bit enabled ext4 fs X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" 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 --- fs/ext4/ext4_common.c | 9 --------- 1 file changed, 9 deletions(-) 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;