]> 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)
committerD Brashear <shadow@your-file-system.com>
Tue, 26 Aug 2014 10:55:59 +0000 (06:55 -0400)
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 <buildbot@rampaginggeek.com>
Reviewed-by: D Brashear <shadow@your-file-system.com>
src/volser/vsprocs.c

index 18d47f3e3fdc5323329dac6cf35a1f99ad00350b..43d3944b1bbd43103a595e60906180848bde1915 100644 (file)
@@ -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;