comment assumptions in lih0_r

previously, we checked for  (!held && !h_OtherHolds_r(host))
now, we want to confirm only we hold it, so comment that that's how
this works

Change-Id: I98a65fbb4f2d0532054c71699dc2168e4592668b
Reviewed-on: http://gerrit.openafs.org/1598
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Derrick Brashear 2010-03-20 10:40:32 -04:00
parent c9761464e7
commit 88a40ffd3b

View File

@ -1533,6 +1533,7 @@ lih0_r(register struct host *host, register int flags, void *rock)
{
struct lih_params *params = (struct lih_params *)rock;
/* OTHER_MUSTHOLD_LIH is because the h_Enum loop holds us once */
if (host->cblist
&& (!(host->hostFlags & HOSTDELETED))
&& (host->refCount < OTHER_MUSTHOLD_LIH)