OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2249-g577d5d9
Gerrit Code Review
gerrit@openafs.org
Mon, 26 Mar 2012 11:20:33 -0700 (PDT)
The following commit has been merged in the master branch:
commit 5af63fabc553a2fecd4c3080b25fe14483f5bd98
Author: Andrew Deason <adeason@sinenomine.net>
Date: Fri Mar 2 17:06:48 2012 -0600
afs: Sanity-check some AFSFetchStatus structures
We currently do not do any sanity checking on the AFSFetchStatus
structures returned from fileservers. Add some sanity checking for
BulkStatus and FetchStatus calls, so we do not screw up our cache if a
fileserver gives us bogus data.
If we do get an invalid AFSFetchStatus structure, act as if the server
gave us a VBUSY error code, so we will retry the request. For OpenAFS
fileservers prior to 1.6.1 that yield this situation, VBUSY is likely
the error code the fileserver should have responded anyway.
Change-Id: Ie16a5210149b21dd5945380f5d7b6a4d9ee01a72
Reviewed-on: http://gerrit.openafs.org/6880
Reviewed-by: Alistair Ferguson <alistair.ferguson@mac.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/afs/VNOPS/afs_vnop_lookup.c | 27 +++++++++++++++++++++++++++
src/afs/afs_prototypes.h | 2 ++
src/afs/afs_vcache.c | 28 ++++++++++++++++++++++++++++
3 files changed, 57 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository