]> git.michaelhowe.org Git - packages/o/openafs.git/commit
viced: fix missing host lock in h_Enumerate
authorMichael Meffie <mmeffie@sinenomine.net>
Thu, 11 Nov 2010 17:17:05 +0000 (12:17 -0500)
committerDerrick Brashear <shadow@dementia.org>
Fri, 12 Nov 2010 00:56:13 +0000 (16:56 -0800)
commitd01e8830661a0939215e1d94be73d8b91053133d
tree1d8516ae3e841e88f45f2ece75b56d7ba6c0c249
parentfb7e276efdf1c68144c8d210582c0b66ab1ab081
viced: fix missing host lock in h_Enumerate

The global host lock must be held over h_Release_r. Fix the
the case in h_Enumerate where h_Release_r is called without
the global host lock held.

Reviewed-on: http://gerrit.openafs.org/3294
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit c8dc68299d47ae4d7f0c9a1354de9ddd37ff86fc)

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