afs: shake harder in shake-loose-vcaches
[openafs.git] / src / afs / DARWIN / osi_vcache.c
index beee9fb..54c6e77 100644 (file)
@@ -53,10 +53,7 @@ osi_TryEvictVCache(struct vcache *avc, int *slept, int defersleep) {
         * this out, since the iocount we have to hold makes it
         * always "fail" */
        if (AFSTOV(avc) == tvp) {
-           if (*slept) {
-               QRemove(&avc->vlruq);
-               QAdd(&VLRU, &avc->vlruq);
-            }
+           /* Caller will move this vcache to the head of the VLRU. */
            return 0;
        } else
            return 1;