r=adilger
Do not rehash dentries in ll_inode_revalidate_it(), it is only supposed to
update inodes.
- if (dentry->d_iname[0] != '/') { /* Do not rehash root of the tree
- dentries */
- spin_lock(&dcache_lock);
- hlist_del_init(&dentry->d_hash);
- __d_rehash(dentry, 0);
- spin_unlock(&dcache_lock);
- }
ll_lookup_finish_locks(&oit, dentry);
ll_lookup_finish_locks(&oit, dentry);
- dentry->d_flags &= ~DCACHE_LUSTRE_INVALID;
-
lsm = lli->lli_smd;
if (lsm == NULL) /* object not yet allocated, don't validate size */
lsm = lli->lli_smd;
if (lsm == NULL) /* object not yet allocated, don't validate size */