From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wendy Cheng Date: Wed, 28 Feb 2007 11:26:11 -0500 Subject: [Cluster-devel] [GFS2 Patch] pass formal ino in do_filldir_main In-Reply-To: <45E5ACB9.40200@redhat.com> References: <1170823892.3414.3.camel@d-cthon07-w-63.Connectathon.ORG> <1170845370.11001.417.camel@quoit.chygwyn.com> <1170887711.7725.14.camel@d-cthon07-w-63.Connectathon.ORG> <1170927758.11001.467.camel@quoit.chygwyn.com> <45DFB779.9000100@redhat.com> <1172504728.11001.614.camel@quoit.chygwyn.com> <1172510168.3246.16.camel@localhost.localdomain> <45E48EC9.3020408@redhat.com> <1172653420.11001.630.camel@quoit.chygwyn.com> <45E5ACB9.40200@redhat.com> Message-ID: <45E5AD23.4030602@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Wendy Cheng wrote: > ok, the following is the minimum changes to get NFSD going before we > settle down this issue .. would appreciate this in the tree so other > NFS related works can get done in parallel. > Should have said this passes cthon04 test suites this morning... Wendy > > > > ------------------------------------------------------------------------ > > Signed-off-by: S. Wendy Cheng > > inode.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > --- linux-feb-17/fs/gfs2/inode.c 2007-02-17 20:07:16.000000000 -0500 > +++ up-kernel/fs/gfs2/inode.c 2007-02-28 11:34:26.000000000 -0500 > @@ -61,13 +61,13 @@ static int iget_set(struct inode *inode, > > struct inode *gfs2_ilookup(struct super_block *sb, struct gfs2_inum_host *inum) > { > - return ilookup5(sb, (unsigned long)inum->no_formal_ino, > + return ilookup5(sb, (unsigned long)inum->no_addr, > iget_test, inum); > } > > static struct inode *gfs2_iget(struct super_block *sb, struct gfs2_inum_host *inum) > { > - return iget5_locked(sb, (unsigned long)inum->no_formal_ino, > + return iget5_locked(sb, (unsigned long)inum->no_addr, > iget_test, iget_set, inum); > } > >