[GFS2] pass formal ino in do_filldir_main
authorWendy Cheng <wcheng@redhat.com>
Wed, 28 Feb 2007 16:24:25 +0000 (11:24 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 7 Mar 2007 18:58:45 +0000 (13:58 -0500)
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.

Signed-off-by: S. Wendy Cheng <wcheng@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/inode.c

index 0d6831a40565015da1af7f343544e25551bcaf57..902dd814211234b560154cefad3901600a595378 100644 (file)
@@ -61,13 +61,13 @@ static int iget_set(struct inode *inode, void *opaque)
 
 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);
 }