volser-cleanup-clone-trans-20030328
authorNathan Neulinger <nneul@umr.edu>
Fri, 28 Mar 2003 09:27:32 +0000 (09:27 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 28 Mar 2003 09:27:32 +0000 (09:27 +0000)
FIXES 1339

so we don't leave an idle transaction around

src/volser/vsprocs.c

index 587a4fe..bd168d8 100644 (file)
@@ -3155,7 +3155,7 @@ int UV_DumpClonedVolume(afs_int32 afromvol, afs_int32 afromserver, afs_int32 afr
                        if (!error) error = code;
                }       
        }
-       if (fromtid) {
+       if (clonetid) {
                VPRINT1("Ending transaction on cloned volume %u...", clonevol);
                code = AFSVolEndTrans(fromconn, clonetid, &rcode);
                if (code || rcode) {