X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fptlrpc%2Fwiretest.c;h=dcb8838d3533b9a08972b4e201f9edb8dc7530ce;hb=f7df2365bc51a7b2804f9b497cbc6bc340dd9da1;hp=ab393e3b3041a460be59dfb1780713f12e536e5b;hpb=ae9d3bed51df1dfee7209ba2c2bc235504bc98d0;p=fs%2Flustre-release.git diff --git a/lustre/ptlrpc/wiretest.c b/lustre/ptlrpc/wiretest.c index ab393e3..dcb8838 100644 --- a/lustre/ptlrpc/wiretest.c +++ b/lustre/ptlrpc/wiretest.c @@ -4366,10 +4366,12 @@ void lustre_assert_wire_constants(void) (long long)(int)offsetof(posix_acl_xattr_header, a_version)); LASSERTF((int)sizeof(((posix_acl_xattr_header *)0)->a_version) == 4, "found %lld\n", (long long)(int)sizeof(((posix_acl_xattr_header *)0)->a_version)); +#ifndef HAVE_STRUCT_POSIX_ACL_XATTR LASSERTF((int)offsetof(posix_acl_xattr_header, a_entries) == 4, "found %lld\n", (long long)(int)offsetof(posix_acl_xattr_header, a_entries)); LASSERTF((int)sizeof(((posix_acl_xattr_header *)0)->a_entries) == 0, "found %lld\n", (long long)(int)sizeof(((posix_acl_xattr_header *)0)->a_entries)); +#endif #endif /* CONFIG_FS_POSIX_ACL */ /* Checks for struct link_ea_header */