OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_1-553-gc20dceb
Gerrit Code Review
gerrit@openafs.org
Fri, 18 Oct 2024 11:29:58 -0400
The following commit has been merged in the master branch:
commit c20dceb39292903595bb2f0f995ccf6754e3841c
Author: Mark Vitale <mvitale@sinenomine.net>
Date: Wed Sep 2 15:39:13 2020 -0400
volser: Always fetch locked entry in CheckVolume
CheckVolume accepts an optional nvldbentry as an argument. When this
argument is NULL, CheckVolume correctly locks the nvldbentry before
obtaining the entry and making changes. However, if an nvldbentry is
passed, CheckVolume merely copies it to a work entry; it also neglects
to obtain the current state of the entry after locking it for
modification.
Change CheckVolume to obtain a locked copy of the nvldbentry if
modifications are required.
Change-Id: Ie98bc57af1cc2955d10982f44abd4c55755c6244
Reviewed-on: https://gerrit.openafs.org/14356
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
src/volser/vsprocs.c | 23 ++++++++++++++++-------
1 file changed, 16 insertions(+), 7 deletions(-)
--
OpenAFS Master Repository