Date: Sat, 20 Aug 2005 10:43:03 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/geom/eli g_eli.h Message-ID: <200508201043.j7KAh3AQ027452@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2005-08-20 10:43:03 UTC FreeBSD src repository Modified files: sys/geom/eli g_eli.h Log: 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 Revision Changes Path 1.4 +1 -1 src/sys/geom/eli/g_eli.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508201043.j7KAh3AQ027452>