Author: avg Date: Tue Aug 8 11:28:38 2017 New Revision: 322247 URL: https://svnweb.freebsd.org/changeset/base/322247
Log: MFV r322246: 8508 Mounting a zpool on 32-bit platforms panics FreeBSD note: this is a record-only commit, the actual change originated from FreeBSD. illumos/illumos-gate@b11fe8c01471a5bff68e83e1fe5f809ad16b3be8 https://github.com/illumos/illumos-gate/commit/b11fe8c01471a5bff68e83e1fe5f809ad16b3be8 https://www.illumos.org/issues/8508 Mounting a zpool on a 32-bit system triggers a panic in spa_history_log_version () due to a type format mismatch for ZPL_VERSION. ZPL_VERSION is a unsigned long long, but the format expects an integer. On 64-bit platforms this may not be an issue due to word size and alignment. On 32-bit platforms a word size is half that of a long long, causing the second word of the long long to be seen as the string pointer for utsname.nodename. Reviewed by: Matt Ahrens <mahr...@delphix.com> Approved by: Dan McDonald <dan...@joyent.com> Author: Justin Hibbits <chmeeed...@gmail.com> Modified: Directory Properties: head/sys/cddl/contrib/opensolaris/ (props changed) _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"