On Mon, Mar 01, 2021 at 10:16:43AM -0500, Chuck Lever wrote: > + *p++ = resp->p_no_trunc ? xdr_one : xdr_zero; > + *p++ = resp->p_chown_restricted ? xdr_one : xdr_zero; > + *p++ = resp->p_case_insensitive ? xdr_one : xdr_zero; > + *p = resp->p_case_preserving ? xdr_one : xdr_zero; Wouldn't a little xdr_encode_bool helper for this common pattern be nice?