Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932703AbWAMCeT (ORCPT ); Thu, 12 Jan 2006 21:34:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932707AbWAMCeS (ORCPT ); Thu, 12 Jan 2006 21:34:18 -0500 Received: from smtp.osdl.org ([65.172.181.4]:27114 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S932682AbWAMCeR (ORCPT ); Thu, 12 Jan 2006 21:34:17 -0500 Date: Thu, 12 Jan 2006 18:33:54 -0800 From: Andrew Morton To: "Takashi Sato" Cc: torvalds@osdl.org, viro@zeniv.linux.org.uk, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, trond.myklebust@fys.uio.no Subject: Re: [PATCH 3/3] Fix problems on multi-TB filesystem and file Message-Id: <20060112183354.03eaf2df.akpm@osdl.org> In-Reply-To: <000201c611df$92dca230$4168010a@bsd.tnes.nec.co.jp> References: <000201c611df$92dca230$4168010a@bsd.tnes.nec.co.jp> X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 863 Lines: 20 "Takashi Sato" wrote: > > his fix was proposed by Trond Myklebust. He says: > The type "sector_t" is heavily tied in to the block layer interface > as an offset/handle to a block, and is subject to a supposedly > block-specific configuration option: CONFIG_LBD. Despite this, it is > used in struct kstatfs to save a couple of bytes on the stack > whenever we call the filesystems' ->statfs(). > > So kstatfs's entries related to blocks are invalid on statfs64 for a > network filesystem which has more than 2^32-1 blocks when CONFIG_LBD > is disabled. > That makes sense, thanks. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/