From 65ec004ce5fdca7446f65cb70f720a77a861762c 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". Change-Id: I76b78d239ecb38e793098078ac34a703f2ffeeeb Reviewed-on: http://gerrit.openafs.org/11431 Tested-by: BuildBot Reviewed-by: D Brashear --- 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 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; -- 2.39.5