Date: Tue, 8 Aug 2017 11:28:38 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r322247 - head/sys/cddl/contrib/opensolaris Message-ID: <201708081128.v78BScI1047755@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <mahrens@delphix.com> Approved by: Dan McDonald <danmcd@joyent.com> Author: Justin Hibbits <chmeeedalf@gmail.com> Modified: Directory Properties: head/sys/cddl/contrib/opensolaris/ (props changed)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708081128.v78BScI1047755>