lkml.org 
[lkml]   [2007]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[GFS2] pass formal ino in do_filldir_main [6/12]
    From
    Date
    >From fb0d3bce8e88cca4abb26076f778f64edcaf19aa Mon Sep 17 00:00:00 2001
    From: Wendy Cheng <wcheng@redhat.com>
    Date: Wed, 28 Feb 2007 11:24:25 -0500
    Subject: [PATCH] [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>

    diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c
    index 0d6831a..902dd81 100644
    --- a/fs/gfs2/inode.c
    +++ b/fs/gfs2/inode.c
    @@ -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);
    }

    --
    1.4.4.2


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-03-07 15:31    [W:3.104 / U:0.592 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site