projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2c77f4
)
NFSv4: Don't revalidate the directory in nfs_atomic_lookup()
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 2 Oct 2007 16:57:24 +0000
(12:57 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 9 Oct 2007 21:20:01 +0000
(17:20 -0400)
Why bother, since the call to nfs4_atomic_open() will do it for us.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/dir.c
patch
|
blob
|
history
diff --git
a/fs/nfs/dir.c
b/fs/nfs/dir.c
index cf80cf234e27ddc58be4d2dd2ea25921897c1aa4..9ca38ab0e0a7d0c2c36229ac58fab9b413aa9121 100644
(file)
--- 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)) {