-diff -rupN linux-2.6.7/fs/namei.c linux-2.6.7.new/fs/namei.c
---- linux-2.6.7/fs/namei.c 2005-03-29 18:54:13.000000000 +0300
-+++ linux-2.6.7.new/fs/namei.c 2005-03-31 14:42:01.605302456 +0300
-@@ -422,6 +422,16 @@ static struct dentry * real_lookup(struc
- result = dentry;
- }
- unlock_dir(dir, lock);
-+ if (!IS_ERR(result)) {
-+ spin_lock(&result->d_lock);
-+ if (result->d_flags & DCACHE_GNS_PENDING) {
-+ spin_unlock(&result->d_lock);
-+ if (result->d_op && result->d_op->d_revalidate)
-+ result->d_op->d_revalidate(result, nd);
-+ } else {
-+ spin_unlock(&result->d_lock);
-+ }
-+ }
- return result;
- }
-