viced: Release all hosts in h_Enumerate*
authorAndrew Deason <adeason@sinenomine.net>
Sat, 23 Apr 2011 21:52:30 +0000 (16:52 -0500)
committerDerrick Brashear <shadow@dementia.org>
Mon, 25 Apr 2011 20:39:17 +0000 (13:39 -0700)
commit211e906c86be9ad9cba324e776d56093579b6653
treef5660032ca993d56b280c6456ba5ef2325845ab2
parent8b07814e037d19dc9868dd202e82d69b96fbdcae
viced: Release all hosts in h_Enumerate*

h_Enumerate and h_Enumerate_r were not releasing all of the holds they
obtained when the callback function caused the enumeration to bail
early. Correct them so all host holds are released.

Change-Id: I6f405fad3d2767c9e0b3567c40cbbd1de8ac26aa
Reviewed-on: http://gerrit.openafs.org/4530
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/viced/host.c