X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Futils%2Fwiretest.c;h=4ee1ad5d7b2679fa6af24c5f188e91f88422ea16;hp=2b20a382242445e00c1baa4dd489d7f1f16a9c24;hb=14db26a85c52561d186b5c400981a0025d45864a;hpb=70149f4ea89aa9f5c002b63f56d0c98afcafbad9 diff --git a/lustre/utils/wiretest.c b/lustre/utils/wiretest.c index 2b20a38..4ee1ad5 100644 --- a/lustre/utils/wiretest.c +++ b/lustre/utils/wiretest.c @@ -5233,6 +5233,7 @@ void lustre_assert_wire_constants(void) LASSERTF((int)sizeof(((struct hsm_user_import *)0)->hui_archive_id) == 4, "found %lld\n", (long long)(int)sizeof(((struct hsm_user_import *)0)->hui_archive_id)); +#ifndef HAVE_NATIVE_LINUX_CLIENT /* Checks for struct netobj_s */ LASSERTF((int)sizeof(struct netobj_s) == 4, "found %lld\n", (long long)(int)sizeof(struct netobj_s)); @@ -5424,6 +5425,7 @@ void lustre_assert_wire_constants(void) (long long)(int)offsetof(struct gss_wire_ctx, gw_handle)); LASSERTF((int)sizeof(((struct gss_wire_ctx *)0)->gw_handle) == 16, "found %lld\n", (long long)(int)sizeof(((struct gss_wire_ctx *)0)->gw_handle)); +#endif /* !HAVE_NATIVE_LINUX_CLIENT */ #ifdef HAVE_SERVER_SUPPORT