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.6.17^2~55 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=d359431504bfd543e6f38d41656a430b7b8fc2de;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". Reviewed-on: http://gerrit.openafs.org/11431 Tested-by: BuildBot Reviewed-by: D Brashear (cherry picked from commit 65ec004ce5fdca7446f65cb70f720a77a861762c) Change-Id: Iddae8e1531838270e48b8d32ba8d7e82e3441033 Reviewed-on: http://gerrit.openafs.org/11434 Reviewed-by: Benjamin Kaduk Tested-by: BuildBot Reviewed-by: Hans-Werner Paulsen Reviewed-by: Stephan Wiesand --- diff --git a/src/volser/vsprocs.c b/src/volser/vsprocs.c index d3ab6094c..01f871ae5 100644 --- a/src/volser/vsprocs.c +++ b/src/volser/vsprocs.c @@ -2918,7 +2918,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;