NFS: Fix nfs_verify_change_attribute()

We don't care about whether or not some other process on our client is
changing the directory while we're in nfs_lookup_revalidate(), because the
dcache will take care of ensuring local atomicity.
We can therefore remove the test for nfs_caches_unstable().

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
Trond Myklebust
2007-09-29 17:15:01 -04:00
parent 8edb018288
commit 4b841736bc
2 changed files with 8 additions and 8 deletions

View File

@@ -646,7 +646,7 @@ static int nfs_check_verifier(struct inode *dir, struct dentry *dentry)
{
if (IS_ROOT(dentry))
return 1;
if (dentry->d_time == NFS_I(dir)->cache_change_attribute)
if (nfs_verify_change_attribute(dir, dentry->d_time))
return 1;
return 0;
}