X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Fafs%2FLINUX%2Fosi_vcache.c;h=bc74b674432d144773618887605660587e0bb9a7;hp=23040b12c7510e04d56061dfcaf291a4690c385f;hb=367693bd7da2de593e3329f6acc4a4d07621fb97;hpb=f8247078bd33a825d8734b2c8f05120d15ab3ffd diff --git a/src/afs/LINUX/osi_vcache.c b/src/afs/LINUX/osi_vcache.c index 23040b1..bc74b67 100644 --- a/src/afs/LINUX/osi_vcache.c +++ b/src/afs/LINUX/osi_vcache.c @@ -24,13 +24,6 @@ TryEvictDentries(struct vcache *avc) struct hlist_node *p; #endif -#if defined(D_INVALIDATE_IS_VOID) - /* At this kernel level, d_invalidate always succeeds; - * that is, it will now invalidate even an active directory, - * Therefore we must use a different method to evict dentries. - */ - d_prune_aliases(inode); -#else #if defined(HAVE_DCACHE_LOCK) spin_lock(&dcache_lock); @@ -85,7 +78,6 @@ restart: spin_unlock(&inode->i_lock); #endif /* HAVE_DCACHE_LOCK */ inuse: -#endif /* D_INVALIDATE_IS_VOID */ return; }