From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Kleikamp Subject: Re: [PATCH] make last_inode counter in new_inode 32-bit on kernels that offer x86 compatability Date: Tue, 07 Nov 2006 11:53:03 -0600 Message-ID: <1162921983.8123.22.camel@kleikamp.austin.ibm.com> References: <1162836725.6952.28.camel@dantu.rdu.redhat.com> <20061106182222.GO27140@parisc-linux.org> <1162838843.12129.8.camel@dantu.rdu.redhat.com> <20061106202313.GA691@wohnheim.fh-wedel.de> <454FA032.1070008@redhat.com> <20061106211134.GB691@wohnheim.fh-wedel.de> <454FAAF8.8080707@redhat.com> <1162914966.28425.24.camel@dantu.rdu.redhat.com> <20061107172835.GB15629@wohnheim.fh-wedel.de> <20061107174217.GA29746@wohnheim.fh-wedel.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Jeff Layton , Eric Sandeen , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Return-path: Received: from e33.co.us.ibm.com ([32.97.110.151]:31710 "EHLO e33.co.us.ibm.com") by vger.kernel.org with ESMTP id S932766AbWKGRxH (ORCPT ); Tue, 7 Nov 2006 12:53:07 -0500 To: =?ISO-8859-1?Q?J=F6rn?= Engel In-Reply-To: <20061107174217.GA29746@wohnheim.fh-wedel.de> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Tue, 2006-11-07 at 18:42 +0100, J=F6rn Engel wrote: > On Tue, 7 November 2006 18:28:35 +0100, J=F6rn Engel wrote: > >=20 > > Anyway, here is a first patch converting some callers that looked > > obvious. >=20 > Next patch with the not-so-obvious ones. I believe this patch is > correct, but someone should double-check it. >=20 > Jfs really surprised me. It appears as if it just takes the number > returned from new_inode in some cases - unbelievable. jfs set it in diInitInode() (pardon the uglyMixedCaps), which is called in several places under diAlloc(). diAlloc() is called after new_inode() for most inodes. The exceptions are for special inodes, which also initialize i_ino in some manner. Shaggy --=20 David Kleikamp IBM Linux Technology Center - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html