]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE12-undo-release-zero-length-dcache-entries-20040110 openafs-stable-1_2_11
authorDerrick Brashear <shadow@dementia.org>
Sat, 10 Jan 2004 19:28:59 +0000 (19:28 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sat, 10 Jan 2004 19:28:59 +0000 (19:28 +0000)
as from kolya@mit.edu's rewrite of this code for 1.3.x

src/afs/afs_segments.c

index dae896bbed847adef07143110d60ddb1db005ac0..ea18b8e9ad6c22bba3096fd6214db40bbba04fa9 100644 (file)
@@ -551,17 +551,7 @@ afs_StoreAllSegments(avc, areq, sync)
            bytes = 0;
          }
        }
-       /* Release any zero-length dcache entries in our interval
-        * that we locked but didn't store back above.
-        */
-       for (j = 0; j <= high; j++) {
-           tdc = dcList[j];
-           if (tdc) {
-               osi_Assert(tdc->f.chunkBytes == 0);
-               afs_PutDCache(tdc);
-           }
-       }
-     } /* if (j) */
+      } /* if (j) */
 
     minj += NCHUNKSATONCE;
     } while ( !code && moredata );