]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-window-afsd-bad-version-20090228
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 28 Feb 2009 16:19:26 +0000 (16:19 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 28 Feb 2009 16:19:26 +0000 (16:19 +0000)
commit71a8a8567e10bef2ba2aa596e1df5f2b4bb5f31d
treece39c550b02c379b32d5ae732a87a9adc57a4790
parent1453e1ae13e7043541e1f4e9145f556520534ec1
DEVEL15-window-afsd-bad-version-20090228

LICENSE MIT

create a new cpp symbol CM_SCACHE_VERSION_BAD to represent data version
values in cm_scache objects that are known to be invalid.

then consistently apply this value throughout the code.  Previously
some invalid values were set to 0 and others to -1 (0xFFFFFFFF:FFFFFFFF).

Also fix at least one location where CM_BUF_VERSION_BAD was not used.

(cherry picked from commit 5d147351263be2636ef547f22acb24c7816348c1)
src/WINNT/afsd/cm_dir.c
src/WINNT/afsd/cm_scache.c
src/WINNT/afsd/cm_scache.h
src/WINNT/afsd/cm_vnodeops.c
src/WINNT/afsd/rawops.c