mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
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:
parent
c9761464e7
commit
88a40ffd3b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user