]> git.michaelhowe.org Git - packages/o/openafs.git/commit
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>
Tue, 3 May 2011 02:18:22 +0000 (19:18 -0700)
commita8b7a1e017a5e16137c00f66701913044bb8ef05
tree5b6b393670fe8a118acb8f3e88ac099c2578cbf0
parentc294038d986d61ef2d35816d96ed86786aed03bc
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.

Reviewed-on: http://gerrit.openafs.org/4530
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 211e906c86be9ad9cba324e776d56093579b6653)

Change-Id: Iceb1e2961e9bbb11640c6fccdeb8713a9657df99
Reviewed-on: http://gerrit.openafs.org/4534
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/viced/host.c