[Cluster-devel] [GFS2 Patch] pass formal ino in do_filldir_main
Wendy Cheng
wcheng at redhat.com
Wed Feb 28 16:26:11 UTC 2007
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 <wcheng at redhat.com>
>
> 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);
> }
>
>
More information about the Cluster-devel
mailing list