From d359431504bfd543e6f38d41656a430b7b8fc2de Mon Sep 17 00:00:00 2001 From: Hans-Werner Paulsen Date: Tue, 26 Aug 2014 11:55:06 +0200 Subject: [PATCH] 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 --- src/volser/vsprocs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5