From: Dan Hyde Date: Mon, 2 Jul 2007 18:05:04 +0000 (+0000) Subject: volser-delete-clone-not-source-20070702 X-Git-Tag: BP-openafs-windows-kdfs-ifs~624 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=a41d0af021b7b56532bb70d7aa63701e3915b099;p=packages%2Fo%2Fopenafs.git volser-delete-clone-not-source-20070702 FIXES 64268 fixes a bug in the UV_CopyVolume2 cleanup code. Without this patch, the cleanup code will delete the source volume. --- diff --git a/src/volser/vsprocs.c b/src/volser/vsprocs.c index 698f0beaa..6f97b88df 100644 --- a/src/volser/vsprocs.c +++ b/src/volser/vsprocs.c @@ -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;