linux-remove-reval-shortcut-20050903

don't skip revalidation work so we don't end up with bogus directory dates
This commit is contained in:
Chas Williams 2005-09-04 05:10:14 +00:00 committed by Derrick Brashear
parent fd8bfddd5e
commit fed9b0844c

View File

@ -631,6 +631,7 @@ afs_linux_revalidate(struct dentry *dp)
#endif
AFS_GLOCK();
#ifdef notyet
/* Make this a fast path (no crref), since it's called so often. */
if (vcp->states & CStatd) {
@ -643,6 +644,7 @@ afs_linux_revalidate(struct dentry *dp)
#endif
return 0;
}
#endif
credp = crref();
code = afs_getattr(vcp, &vattr, credp);