From 88a40ffd3b82f3ca1a1b2d57f32859a9d57b922e Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Sat, 20 Mar 2010 10:40:32 -0400 Subject: [PATCH] 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 Tested-by: Derrick Brashear --- src/viced/callback.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/viced/callback.c b/src/viced/callback.c index b5006a122..9cfd1d50c 100644 --- a/src/viced/callback.c +++ b/src/viced/callback.c @@ -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) -- 2.39.5