afs: Refactor osi_vnhold/AFS_FAST_HOLD
[openafs.git] / src / afs / VNOPS / afs_vnop_remove.c
index 015ea3a..4ab3eb6 100644 (file)
@@ -421,7 +421,7 @@ afs_remunlink(struct vcache *avc, int doit)
 #if defined(AFS_DARWIN_ENV) && !defined(AFS_DARWIN80_ENV)
            VREF(AFSTOV(avc));
 #else
-           AFS_FAST_HOLD(avc);
+           osi_Assert(osi_vnhold(avc) == 0);
 #endif
 
            /* We'll only try this once. If it fails, just release the vnode.