]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-volume-callback-fix-20051201
authorDerrick Brashear <shadow@dementia.org>
Thu, 1 Dec 2005 05:10:55 +0000 (05:10 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 1 Dec 2005 05:10:55 +0000 (05:10 +0000)
fix rainer toebbicke's callbacks vanishing issue. this was probably my fault merging

(cherry picked from commit 05db09ada10f83666a8d46e734d26656e99397f2)

src/afs/afs_vcache.c

index 8e2fa8ffad058f3d0d4ddbaad610d4f94279c184..0aba0575971fbc4f447e1a7fb3aaac38b0623612 100644 (file)
@@ -877,10 +877,11 @@ restart:
                                 * request is lost */
 
     i = VCHash(afid);
+    j = VCHashV(afid);
 
     tvc->hnext = afs_vhashT[i];
     afs_vhashT[i] = tvc;
-    QAdd(&afs_vhashTV[i], &tvc->vhashq);
+    QAdd(&afs_vhashTV[j], &tvc->vhashq);
     
     if ((VLRU.next->prev != &VLRU) || (VLRU.prev->next != &VLRU)) {
         refpanic("NewVCache VLRU inconsistent");