From: Dan Hyde Date: Mon, 2 Jul 2007 18:06:31 +0000 (+0000) Subject: STABLE14-volser-delete-clone-not-source-20070702 X-Git-Tag: openafs-stable-1_4_5-pre1~72 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=d4fb7c69bff3a3d60cf96d1b33db17cd01d82b51;p=packages%2Fo%2Fopenafs.git STABLE14-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. (cherry picked from commit a41d0af021b7b56532bb70d7aa63701e3915b099) --- diff --git a/src/volser/vsprocs.c b/src/volser/vsprocs.c index f7730987f..f1fd70281 100644 --- a/src/volser/vsprocs.c +++ b/src/volser/vsprocs.c @@ -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;