SPA_VERSION_ZPOOL_HISTORY
if (version >= SPA_VERSION_ZPOOL_HISTORY)
if (spa_version(spa) < SPA_VERSION_ZPOOL_HISTORY || !spa_writeable(spa))
if (spa_version(spa) < SPA_VERSION_ZPOOL_HISTORY) {
if (spa_version(spa) < SPA_VERSION_ZPOOL_HISTORY) {
if (spa_version(spa) >= SPA_VERSION_ZPOOL_HISTORY)