From: Hans-Werner Paulsen Date: Tue, 26 Aug 2014 09:55:06 +0000 (+0200) Subject: vos clone use the value of the -toname argument X-Git-Tag: upstream/1.8.0_pre1^2~593 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=65ec004ce5fdca7446f65cb70f720a77a861762c;p=packages%2Fo%2Fopenafs.git vos clone use the value of the -toname argument The -toname argument was not followed with the vos clone command. The name of the clone volume was always ".clone". Change-Id: I76b78d239ecb38e793098078ac34a703f2ffeeeb Reviewed-on: http://gerrit.openafs.org/11431 Tested-by: BuildBot Reviewed-by: D Brashear --- diff --git a/src/volser/vsprocs.c b/src/volser/vsprocs.c index 18d47f3e3..43d3944b1 100644 --- a/src/volser/vsprocs.c +++ b/src/volser/vsprocs.c @@ -3036,7 +3036,7 @@ UV_CloneVolume(afs_uint32 aserver, afs_int32 apart, afs_uint32 avolid, type = backupVolume; code = DoVolClone(aconn, avolid, apart, type, acloneid, "clone", - NULL, ".clone", NULL, NULL, NULL); + NULL, aname, NULL, NULL, NULL); if (code) { error = code; goto bfail;