OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_2-523-gce63cde
Gerrit Code Review
gerrit@openafs.org
Tue, 30 Jun 2026 17:02:12 -0400
The following commit has been merged in the master branch:
commit ce63cdeb14d85d457980ed89ff36fa8545986128
Author: Marcio Barbosa <mbarbosa@sinenomine.net>
Date: Tue Jun 30 12:47:24 2026 +0000
volser: Make DoVolClone() recloning explicit
DoVolClone() currently falls back to a reclone operation implicitly
if the target 'cloneid' already exists. While all current callers expect
this behavior, a future change will require callers to explicitly choose
whether recloning is allowed.
In preparation for a future commit, add a 'reclone_ok' boolean flag to
make this fallback explicit. If 'reclone_ok' is false and the target
'cloneid' already exists, log a message and return an error instead of
recloning.
While here, remove the unused 'transPtr' argument from DoVolClone()
(unused since commit 13a4f2b18bb8) and drop its redundant forward
declaration.
No functional change is incurred by this commit.
Change-Id: I265c421451025d99c1253bc08cea6f2ce537a282
Reviewed-on: https://gerrit.openafs.org/16852
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/volser/vsprocs.c | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
--
OpenAFS Master Repository