Date: Thu, 6 Oct 2005 18:17:29 +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: <200510061817.j96IHTCU076410@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2005-10-06 18:17:29 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/geom/eli g_eli.h Log: MFC: sys/geom/eli/g_eli.h 1.4 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> Reminded by: delphij Approved by: re (scottl) Revision Changes Path 1.1.2.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?200510061817.j96IHTCU076410>