From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: stat64 for over 2TB file returned invalid st_blocks Date: Thu, 1 Dec 2005 14:53:07 +0000 Message-ID: <20051201145307.GF27946@ftp.linux.org.uk> References: <01e901c5f66e$d4551b70$4168010a@bsd.tnes.nec.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Return-path: Received: from zeniv.linux.org.uk ([195.92.253.2]:54187 "EHLO ZenIV.linux.org.uk") by vger.kernel.org with ESMTP id S932257AbVLAOxI (ORCPT ); Thu, 1 Dec 2005 09:53:08 -0500 To: Takashi Sato Content-Disposition: inline In-Reply-To: <01e901c5f66e$d4551b70$4168010a@bsd.tnes.nec.co.jp> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Thu, Dec 01, 2005 at 09:00:26PM +0900, Takashi Sato wrote: > 2. Change the type of architecture dependent stat64.st_blocks in > include/asm/asm-*/stat.h from unsigned long to unsigned long long. > I tried modifying only stat64 of 32bit architecture > (include/asm-i386/stat.h). ... watch libc have kittens on big-endian architectures subjected to that treatment.