vos: refactor ListAddrs
authorJeffrey Altman <jaltman@your-file-system.com>
Mon, 30 May 2011 04:15:43 +0000 (00:15 -0400)
committerJeffrey Altman <jaltman@openafs.org>
Tue, 28 Jun 2011 13:28:57 +0000 (06:28 -0700)
commitc643f455cbe8e99ebb062427abcfec8e75a5e1a4
treee007e367dbd2951a500b7e42b864d23ec9594ce3
parent51fa590e704c77c0e9ba873ecb854448885030a5
vos: refactor ListAddrs

refactor ListAddrs to be more readable.   Clarify that -uuid and
-host cannot be issued at the same time.  Rename 'nentries' to
'max_index' so it is clear that ubik_VL_GetAddrs() is issued
to set an upper-bound for the number of subsequent ubik_VL_GetAddrsU()
calls that are issued when neither -host nor -uuid are specified.

Change-Id: Icbd511722728396fda837abba39a3e6809f4d26c
Reviewed-on: http://gerrit.openafs.org/4754
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/volser/vos.c