Details
-
Bug
-
Resolution: Fixed
-
Trivial
-
Lustre 2.11.0
-
3
-
9223372036854775807
Description
In ns_is_{client,server}(), (ns->ns_client == LDLM_NAMESPACE_CLIENT || ns->ns_client == LDLM_NAMESPACE_SERVER) implies that (!(ns->ns_client & ~(LDLM_NAMESPACE_CLIENT |
LDLM_NAMESPACE_SERVER))) is also true, so the latter LASSERT() could be removed from ns_is_{client,server}().
This might be an inconsequential issue. I have not checked if gcc optimizes-out one of the LASSERT()s.