]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-volser-delete-clone-not-source-20070702
authorDan Hyde <drh@umich.edu>
Mon, 2 Jul 2007 18:06:31 +0000 (18:06 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 2 Jul 2007 18:06:31 +0000 (18:06 +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 f7730987f18f77e416730a406eda9650b0a4ce07..f1fd7028166135f12c0a3132820693b6f023bbd7 100644 (file)
@@ -2480,7 +2480,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;