viced: Set HWHO_INPROGRESS in CheckHost_r
authorAndrew Deason <adeason@sinenomine.net>
Fri, 4 Mar 2011 17:35:06 +0000 (11:35 -0600)
committerDerrick Brashear <shadow@dementia.org>
Fri, 4 Mar 2011 20:26:08 +0000 (12:26 -0800)
commit64d52938ee26e160a6e2cd64253df096eb5d0c1e
tree4ec4b50285cea28d35033ef65d0a402de3564cf6
parent0d1335ad7104a6fa67525b84d70a33e7bb1b6c6a
viced: Set HWHO_INPROGRESS in CheckHost_r

When we are probing a host in CheckHost_r, set the HWHO_INPROGRESS
flag on the host, so other threads know that the host is locked while
we are waiting for a probe response, and the h_threadquota mechanism
can work correctly.

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