aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWendy Cheng <wcheng@redhat.com>2007-02-28 11:24:25 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2007-03-07 13:58:45 -0500
commitfb0d3bce8e88cca4abb26076f778f64edcaf19aa (patch)
treee4234e7fb9415bac32c12a607b8030d98acb22e0
parent84c6e8cd359adc34d21e40efcafe09297510b3c8 (diff)
[GFS2] pass formal ino in do_filldir_main
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>
-rw-r--r--fs/gfs2/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c
index 0d6831a40565..902dd8142112 100644
--- a/fs/gfs2/inode.c
+++ b/fs/gfs2/inode.c
@@ -61,13 +61,13 @@ static int iget_set(struct inode *inode, void *opaque)
61 61
62struct inode *gfs2_ilookup(struct super_block *sb, struct gfs2_inum_host *inum) 62struct inode *gfs2_ilookup(struct super_block *sb, struct gfs2_inum_host *inum)
63{ 63{
64 return ilookup5(sb, (unsigned long)inum->no_formal_ino, 64 return ilookup5(sb, (unsigned long)inum->no_addr,
65 iget_test, inum); 65 iget_test, inum);
66} 66}
67 67
68static struct inode *gfs2_iget(struct super_block *sb, struct gfs2_inum_host *inum) 68static struct inode *gfs2_iget(struct super_block *sb, struct gfs2_inum_host *inum)
69{ 69{
70 return iget5_locked(sb, (unsigned long)inum->no_formal_ino, 70 return iget5_locked(sb, (unsigned long)inum->no_addr,
71 iget_test, iget_set, inum); 71 iget_test, iget_set, inum);
72} 72}
73 73