From: Theodore Tso Subject: Re: [PATCH]: ext4: fix big endian (was: not enough memory for 522250 flex groups) Date: Thu, 6 Nov 2008 11:59:00 -0500 Message-ID: <20081106165900.GC18939@mit.edu> References: <200811061600.54264.borntraeger@de.ibm.com> <200811061651.49602.borntraeger@de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org To: Christian Borntraeger Return-path: Received: from www.church-of-our-saviour.org ([69.25.196.31]:50358 "EHLO thunker.thunk.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751690AbYKFQ7E (ORCPT ); Thu, 6 Nov 2008 11:59:04 -0500 Content-Disposition: inline In-Reply-To: <200811061651.49602.borntraeger@de.ibm.com> Sender: linux-ext4-owner@vger.kernel.org List-ID: On Thu, Nov 06, 2008 at 04:51:49PM +0100, Christian Borntraeger wrote: > Ok, I think I found it: > > On big endianess plattforms newly created ext4 file systems cannot be mounted > and show messages like: > [6923911.715968] EXT4-fs: not enough memory for 522250 flex groups > [6923911.715973] EXT4-fs: unable to initialize flex_bg meta info! > > We have to access s_reserved_gdb_blocks with le16_to_cpu. Aneesh has already submitted a patch to fix this; I'll be pushing it to Linus shortly. - Ted