ZPL_VERSION is a unsigned long long, not an int. On 64-bit systems this isn't generally a problem because long long is the same size as a native word, and alignment (in memory or registers) treats it as a word sized argument. However, on 32-bit systems this may not be the case, and instead treats the second 4 bytes as a pointer. Given the current values of ZPL_VERSION, this will be either an invalid pointer or a NULL pointer, resulting in a panic. You can view, comment on, or merge this pull request online at:
https://github.com/openzfs/openzfs/pull/429 -- Commit Summary -- * Fix formatting in spa_history_log_version() -- File Changes -- M usr/src/uts/common/fs/zfs/spa_history.c (2) -- Patch Links -- https://github.com/openzfs/openzfs/pull/429.patch https://github.com/openzfs/openzfs/pull/429.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/openzfs/openzfs/pull/429 ------------------------------------------ openzfs-developer Archives: https://openzfs.topicbox.com/groups/developer/discussions/T3396096cf418ece7-Ma265d08dff71e7f5fbf24094 Powered by Topicbox: https://topicbox.com
