vlserver: Rationalise multi homed host processing
authorSimon Wilkinson <sxw@your-file-system.com>
Thu, 19 May 2011 18:15:44 +0000 (19:15 +0100)
committerDerrick Brashear <shadow@dementia.org>
Sun, 5 Jun 2011 14:02:38 +0000 (07:02 -0700)
commita9bd64f9941b07db240b9a6c0a04df06c082fa43
tree0a11d24eeffc61d5f9163581544b36bf1754e356
parent90507fcb104313154679f89ac22c1947c713a65d
vlserver: Rationalise multi homed host processing

The same code for getting extent structures for multi homed hosts
was scattered throughout vlprocs.c, sometimes with error handling,
and sometimes without. Rationalise all of this into a pair of
static inline functions, which do all of the hard work.

Change-Id: Ib0f55e5b5f455b07753409ebff2a5cd0ca188cda
Reviewed-on: http://gerrit.openafs.org/4774
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/vlserver/vlprocs.c