]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Remove misplaced lines
authorHartmut Reuter <reuter@rzg.mpg.de>
Thu, 16 Jul 2009 08:33:57 +0000 (10:33 +0200)
committerRuss Allbery <rra@stanford.edu>
Thu, 16 Jul 2009 17:45:36 +0000 (11:45 -0600)
The same lines appears 17 lines up. So it is already done.
But here we shouldn't do it again after having released the
write lock in tdc and tdc itself

Reviewed-on: http://gerrit.openafs.org/79
Verified-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Russ Allbery <rra@stanford.edu>
src/afs/afs_dcache.c

index 77510ff9c8d2dc1277fc8a7ba05b1b08c7afd8e8..d99dd442a4da67a7298ff56856e6ada0267d98ce 100644 (file)
@@ -2742,8 +2742,6 @@ afs_GetDCache(register struct vcache *avc, afs_size_t abyte,
                 */
                osi_Assert(!setLocks || slowPass);
            }
-           tdc->f.states &= ~(DRO|DBackup|DRW);
-           afs_DCMoveBucket(tdc, 0, 0);
            tdc = NULL;
            goto done;
        }