afs: Create afs_SetDataVersion 91/11791/6
authorAndrew Deason <adeason@sinenomine.net>
Thu, 26 Jun 2014 22:47:46 +0000 (15:47 -0700)
committerBenjamin Kaduk <kaduk@mit.edu>
Thu, 15 Sep 2016 01:54:17 +0000 (21:54 -0400)
commit7b99f2e4a8b7071930a5851c5f6c6ab6ddc0dd57
tree477ebace605460e9baa03e0f54b3e88ce273eb15
parentfac0b742960899123dca6016f6ffc6ccc944f217
afs: Create afs_SetDataVersion

Several different places in the codebase change avc->f.m.DataVersion
for a particular vcache, when we've noticed that the DV for the vcache
has changed. Consolidate all of these occurrences into a single
afs_SetDataVersion function, to make it easier to change what happens
when we notice a change in DV number.

This should incur no behavior change; it is just simple code
reorganization.

Change-Id: I5dbf2678d3c4b5a2fbef6ef045a0b5bfa8a49242
Reviewed-on: https://gerrit.openafs.org/11791
Reviewed-by: Marc Dionne <marc.c.dionne@gmail.com>
Reviewed-by: Daria Phoebe Brashear <shadow@your-file-system.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Thomas Keiser <tkeiser@gmail.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/afs/VNOPS/afs_vnop_create.c
src/afs/afs_disconnected.c
src/afs/afs_prototypes.h
src/afs/afs_vcache.c