OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2300-g047ff7e
Gerrit Code Review
gerrit@openafs.org
Sat, 7 Apr 2012 05:05:38 -0700 (PDT)
The following commit has been merged in the master branch:
commit 047ff7e9fd283f67ede2b873e3ad64ebbcf8d3ef
Author: Simon Wilkinson <sxw@inf.ed.ac.uk>
Date: Tue Jun 15 19:20:50 2010 +0100
Salvager: Don't use garbage vnodes when Testing
If Testing is true, and the salvage wants to repair the '.' file,
then it will end up using a garbage value as the location of the
repaired file (vnodeNumber gets set to fid.Vnode, but fid.Vnode is
uninitialised)
Fix this by making it behave as if no repair is necessary when running
in Testing mode. It's unclear that this is entirely the correct answer,
but it's definitely better than the current behaviour.
Caught by clang-analyzer
Change-Id: I1bddd889b3350cf31fe6384573e49e82159c7095
Reviewed-on: http://gerrit.openafs.org/7071
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: Derrick Brashear <shadow@dementix.org>
src/vol/vol-salvage.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
--
OpenAFS Master Repository