diff options
author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2005-08-20 10:43:03 +0000 |
---|---|---|
committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2005-08-20 10:43:03 +0000 |
commit | efd9ac0dfcee3d47e5b32ab2dca75364fc63dc2a (patch) | |
tree | 05d5baae924c32979b4648da129214cf107a01eb /sys/sparc64/include/_limits.h | |
parent | bbe1f20097e4fa0b833a594c7c9b5a355916ffcb (diff) |
Add a __packed keyword to g_eli_metadata struct definition, so
sizeof(struct g_eli_metadata) will return the exact number of bytes needed
for storing it on the disk.
Without this change GELI was unusable on amd64 (and probably other 64-bit
archs), because sizeof(struct g_eli_metadata) was greater than 512 bytes
and geli(8) was failing on assertion.
Reported by: Michael Reifenberger <mike@Reifenberger.com>
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=149323
Diffstat (limited to 'sys/sparc64/include/_limits.h')
0 files changed, 0 insertions, 0 deletions