diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-10-01 19:54:51 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-10-09 23:19:45 +0200 |
commit | 3258b4fa552c4f994b5e6490a8ad88f5d7e0e648 (patch) | |
tree | 1ec891ada36618119544ae6c870665a53b120fcd /fs/nfs | |
parent | NFS: don't cache the verifer across ->lookup() calls (diff) | |
download | linux-3258b4fa552c4f994b5e6490a8ad88f5d7e0e648.tar.xz linux-3258b4fa552c4f994b5e6490a8ad88f5d7e0e648.zip |
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 <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | 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 7cd2697f2d32..35b447d79dbe 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)); |