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

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

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;