From 14db26a85c52561d186b5c400981a0025d45864a Mon Sep 17 00:00:00 2001 From: James Simmons Date: Mon, 27 Jun 2022 11:24:19 -0400 Subject: [PATCH] LU-12511 utils: fix regression for UAPI headers for native client A patch landed to add wiretest for the GSS wire protocol which is lacking for the native client. Add disabling the new test code for the native Linux client build. Test-Parameters: trivial Fixes: 7dfbc71350 ("LU-9243 gss: fix GSS struct definition badness") Change-Id: I31c387b757a77f4503b923c784911afc16c878a0 Signed-off-by: James Simmons Reviewed-on: https://review.whamcloud.com/47803 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Sebastien Buisson Reviewed-by: Arshad Hussain Reviewed-by: Oleg Drokin --- lustre/utils/wiretest.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 1.8.3.1