From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 1/3] make static counters in new_inode and iunique be 32 bits Date: Wed, 10 Jan 2007 21:21:03 +0000 Message-ID: <20070110212103.GA4425@infradead.org> References: <200701082047.l08Kl7mh001917@dantu.rdu.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, esandeen@redhat.com, aviro@redhat.com Return-path: To: Jeff Layton Content-Disposition: inline In-Reply-To: <200701082047.l08Kl7mh001917@dantu.rdu.redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Mon, Jan 08, 2007 at 03:47:07PM -0500, Jeff Layton wrote: > When a 32-bit program that was not compiled with large file offsets does a > stat and gets a st_ino value back that won't fit in the 32 bit field, glibc > (correctly) generates an EOVERFLOW error. We can't do anything about fs's > with larger permanent inode numbers, but when we generate them on the fly, > we ought to try and have them fit within a 32 bit field. > > This patch takes the first step toward this by making the static counters in > these two functions be 32 bits. > > Signed-off-by: Jeff Layton Ok.