OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1099-g484b5b4
Gerrit Code Review
gerrit@openafs.org
Mon, 25 Apr 2011 13:39:10 -0700 (PDT)
The following commit has been merged in the master branch:
commit 5b9d427141f0a6fd0e83de9564e70ef2cfebf656
Author: Andrew Deason <adeason@sinenomine.net>
Date: Sat Apr 23 16:25:00 2011 -0500
viced: Fix host enumeration flags
Do not give uninitialized flags values to h_Enumerate callback
functions. In fact, do not give a flags value to h_Enumerate or
h_Enumerate_r callback functions at all, since they are not actually
used.
Fix host enumeration callback functions to just return 0 or the
relevant flags, instead of basing the return value off of the given
flags value. Update MultiBreakVolumeCallBack_r to use the correct
return values, since it currently tries to use the old meanings of the
host enumeration return values.
FIXES 129376
Change-Id: Ibb01ce62411602a9f83f437125fb87a7a84160b4
Reviewed-on: http://gerrit.openafs.org/4527
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/viced/callback.c | 38 ++++++++++------------
src/viced/host.c | 88 +++++++++++++++++++++-----------------------------
src/viced/host.h | 5 +--
3 files changed, 56 insertions(+), 75 deletions(-)
--
OpenAFS Master Repository