ZAP: Align za_name in zap_attribute_t to 8 bytes
commit42ce4b11e72ab53ccc8f98841639a8979cafe3f5
authorAlexander Motin <mav@FreeBSD.org>
Fri, 4 Oct 2024 18:06:26 +0000 (4 14:06 -0400)
committerGitHub <noreply@github.com>
Fri, 4 Oct 2024 18:06:26 +0000 (4 11:06 -0700)
tree8079db2b2cf2c550702c66abda13f02714d3e625
parent4ebe674d91fa942751a51fa55fda5ebe7db6165e
ZAP: Align za_name in zap_attribute_t to 8 bytes

Our code reading/writing there may not handle misaligned accesses
on a platforms that may care about it.  I don't see a point to
complicate it to satisfy UBSan in CI. This alignment costs nothing.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by: iXsystems, Inc.
Closes #15921
Closes #16606
include/sys/zap.h