OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_2-484-g5afa395
Gerrit Code Review
gerrit@openafs.org
Tue, 26 May 2026 15:21:22 -0400
The following commit has been merged in the master branch:
commit 5afa39506718de3f71b908940e54c530367f92a9
Author: Andrew Deason <adeason@sinenomine.net>
Date: Fri May 1 18:13:01 2026 -0500
afs: Use 'struct afs_lock' in 'struct ltable'
Our 'ltable' uses a char* for field 'addr' to point to each lock, but
every entry points to a struct afs_lock. We interpret each 'addr' as a
struct afs_lock later on, so just declare the field as a 'struct
afs_lock*' to avoid the casts to/from char*.
While we're here, also clean up the weird inconsistent formatting for
declaring 'ltable'.
Change-Id: I888468b991c3a547ad08e9afdda438403b9d926d
Reviewed-on: https://gerrit.openafs.org/16801
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Marcio Brito Barbosa <mbarbosa@sinenomine.net>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
src/afs/afs_callback.c | 72 ++++++++++++++++++++++----------------------------
1 file changed, 31 insertions(+), 41 deletions(-)
--
OpenAFS Master Repository