]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-volser-delete-clone-not-source-20070702
authorDan Hyde <drh@umich.edu>
Mon, 2 Jul 2007 18:08:03 +0000 (18:08 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 2 Jul 2007 18:08:03 +0000 (18:08 +0000)
FIXES 64268

fixes a bug in the UV_CopyVolume2 cleanup code. Without
this patch, the cleanup code will delete the source volume.

(cherry picked from commit a41d0af021b7b56532bb70d7aa63701e3915b099)

src/volser/vsprocs.c

index 698f0beaa81ab791618efc864226c3d1639c59de..6f97b88df05a02bbcc64a54f7bd286217b510d37 100644 (file)
@@ -2479,7 +2479,7 @@ cpincr:
        VPRINT1("Recovery: Creating transaction on clone volume %u ...",
                cloneVol);
        code =
-           AFSVolTransCreate(fromconn, newVol, afrompart, ITOffline,
+           AFSVolTransCreate(fromconn, cloneVol, afrompart, ITOffline,
                              &clonetid);
        if (!code) {
            VDONE;