Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0a5ebc148879be68acdb12fbe72b65cb88c410d9
Commit:     0a5ebc148879be68acdb12fbe72b65cb88c410d9
Parent:     f2c77f4e62a2290ae46b5b0449eb72d72afe691e
Author:     Trond Myklebust <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 2 12:57:24 2007 -0400
Committer:  Trond Myklebust <[EMAIL PROTECTED]>
CommitDate: Tue Oct 9 17:20:01 2007 -0400

    NFSv4: Don't revalidate the directory in nfs_atomic_lookup()
    
    Why bother, since the call to nfs4_atomic_open() will do it for us.
    
    Signed-off-by: Trond Myklebust <[EMAIL PROTECTED]>
---
 fs/nfs/dir.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
index cf80cf2..9ca38ab 100644
--- a/fs/nfs/dir.c
+++ b/fs/nfs/dir.c
@@ -994,14 +994,6 @@ static struct dentry *nfs_atomic_lookup(struct inode *dir, 
struct dentry *dentry
 
        /* Open the file on the server */
        lock_kernel();
-       /* Revalidate parent directory attribute cache */
-       error = nfs_revalidate_inode(NFS_SERVER(dir), dir);
-       if (error < 0) {
-               res = ERR_PTR(error);
-               unlock_kernel();
-               goto out;
-       }
-
        res = nfs4_atomic_open(dir, dentry, nd);
        unlock_kernel();
        if (IS_ERR(res)) {
-
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