aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2007-10-02 12:57:24 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-10-09 17:20:01 -0400
commit0a5ebc148879be68acdb12fbe72b65cb88c410d9 (patch)
treeb9fb0b5a2689b33daa97255b8b302383a304785a /fs
parentf2c77f4e62a2290ae46b5b0449eb72d72afe691e (diff)
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 <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/nfs/dir.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
index cf80cf234e27..9ca38ab0e0a7 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
994 994
995 /* Open the file on the server */ 995 /* Open the file on the server */
996 lock_kernel(); 996 lock_kernel();
997 /* Revalidate parent directory attribute cache */
998 error = nfs_revalidate_inode(NFS_SERVER(dir), dir);
999 if (error < 0) {
1000 res = ERR_PTR(error);
1001 unlock_kernel();
1002 goto out;
1003 }
1004
1005 res = nfs4_atomic_open(dir, dentry, nd); 997 res = nfs4_atomic_open(dir, dentry, nd);
1006 unlock_kernel(); 998 unlock_kernel();
1007 if (IS_ERR(res)) { 999 if (IS_ERR(res)) {