OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_74_1-111-g6fd1db1
Gerrit Code Review
gerrit@openafs.org
Mon, 17 May 2010 05:38:31 -0700 (PDT)
The following commit has been merged in the master branch:
commit 6fd1db1a86e830b3758772a79f25c30080c4dd06
Author: Simon Wilkinson <sxw@inf.ed.ac.uk>
Date: Sun Apr 25 20:23:27 2010 +0100
Demand Attach: Simplify __VVGC_entry_cl_add
The __VVGC_entry_cl_add was giving an uninitialised variable warning
for empty_idx, because it was using a separate variable, empty_found
as a sentinel for when empty_idx was holding a real value. Simplify all
of this by removing the sentinel, and making empty_idx being -1 mean
'not found', and a real value imply found.
Change-Id: I6c485993df1ff8dfd27824234c811af998ff94fa
Reviewed-on: http://gerrit.openafs.org/1833
Reviewed-by: Tom Keiser <tkeiser@sinenomine.net>
Reviewed-by: Alistair Ferguson <alistair.ferguson@mac.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/vol/vg_cache.c | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
--
OpenAFS Master Repository