]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
vos clone use the value of the -toname argument
authorHans-Werner Paulsen <hans@MPA-Garching.MPG.DE>
Tue, 26 Aug 2014 09:55:06 +0000 (11:55 +0200)
committerStephan Wiesand <stephan.wiesand@desy.de>
Wed, 7 Oct 2015 10:13:08 +0000 (06:13 -0400)
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 <buildbot@rampaginggeek.com>
Reviewed-by: D Brashear <shadow@your-file-system.com>
(cherry picked from commit 65ec004ce5fdca7446f65cb70f720a77a861762c)

Change-Id: Iddae8e1531838270e48b8d32ba8d7e82e3441033
Reviewed-on: http://gerrit.openafs.org/11434
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Hans-Werner Paulsen <hans@mpa-garching.mpg.de>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/volser/vsprocs.c

index d3ab6094c3198d47144b2a9cbf19b39be2b74500..01f871ae5dfcddcd68a3218e7df1789b7a798c4a 100644 (file)
@@ -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;