diff --git a/src/afs/afs_vcache.c b/src/afs/afs_vcache.c index 9f9526ed39..16bf085a75 100644 --- a/src/afs/afs_vcache.c +++ b/src/afs/afs_vcache.c @@ -485,8 +485,8 @@ static void afs_TryFlushDcacheChildren(struct vcache *tvc) VN_HOLD(tvc); AFS_GUNLOCK(); d_prune_aliases(ip); - AFS_GLOCK(); VN_RELE(tvc); + AFS_GLOCK(); #else restart: DLOCK();