Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3258b4fa552c4f994b5e6490a8ad88f5d7e0e648
Commit:     3258b4fa552c4f994b5e6490a8ad88f5d7e0e648
Parent:     cf8ba45e0554f1c8838fcfe43a93114f177af839
Author:     Trond Myklebust <[EMAIL PROTECTED]>
AuthorDate: Mon Oct 1 13:54:51 2007 -0400
Committer:  Trond Myklebust <[EMAIL PROTECTED]>
CommitDate: Tue Oct 9 17:19:45 2007 -0400

    NFS: Remove bogus nfs_mark_for_revalidate() in nfs_lookup
    
    The parent of the newly materialised dentry has just been revalidated...
    
    Signed-off-by: Trond Myklebust <[EMAIL PROTECTED]>
---
 fs/nfs/dir.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
index 7cd2697..35b447d 100644
--- a/fs/nfs/dir.c
+++ b/fs/nfs/dir.c
@@ -929,14 +929,8 @@ static struct dentry *nfs_lookup(struct inode *dir, struct 
dentry * dentry, stru
 no_entry:
        res = d_materialise_unique(dentry, inode);
        if (res != NULL) {
-               struct dentry *parent;
                if (IS_ERR(res))
                        goto out_unlock;
-               /* Was a directory renamed! */
-               parent = dget_parent(res);
-               if (!IS_ROOT(parent))
-                       nfs_mark_for_revalidate(parent->d_inode);
-               dput(parent);
                dentry = res;
        }
        nfs_set_verifier(dentry, nfs_save_change_attribute(dir));
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to