Convert all osi_timeval_t to osi_timeval32_t 15/14215/5
authorMark Vitale <mvitale@sinenomine.net>
Mon, 18 May 2020 18:19:25 +0000 (14:19 -0400)
committerBenjamin Kaduk <kaduk@mit.edu>
Fri, 29 May 2020 03:09:05 +0000 (23:09 -0400)
commitc6eff25be9fc959f666b33425c9ee2635224826e
tree3d648fe2ca4e30170170fd32e7d1225326f6a894
parentd6101128664918e6fcefbaeb68c4c1d439851411
Convert all osi_timeval_t to osi_timeval32_t

Since commit 130144850c6d05bc69e06257a5d7219eb98697d8 "xstat: cm xstat
time values are 32 bit", OpenAFS has had two timeval definitions:
osi_timeval_t and osi_timeval32_t.  Since they are functionally
equivalent, convert all references to osi_timeval_t to osi_timeval32_t.
This makes clear that this struct is always expected to contain 32-bit
members for tv_sec and tv_usec.

There are still a few platforms where osi_timeval32_t is mistakenly
defined with 64-bit members; these will be addressed in future commits.

No functional change should be incurred by this commit.

Change-Id: I3e8e44235e813571723fcd114194f6cb83de90e4
Reviewed-on: https://gerrit.openafs.org/14215
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
15 files changed:
src/afs/AIX/osi_config.c
src/afs/afs_callback.c
src/afs/afs_dcache.c
src/afs/afs_fetchstore.c
src/afs/afs_icl.c
src/afs/afs_lock.c
src/afs/afs_osi.h
src/afs/afs_prototypes.h
src/afs/afs_server.c
src/afs/afs_stats.h
src/afs/lock.h
src/rx/rx.c
src/rx/rx_clock.h
src/util/uuid.c
src/venus/kdump.c