return (error);
}
+#ifdef ZFS_DEBUG
/*
* Count the number of per-vdev ZAPs associated with all of the vdevs in the
* vdev tree rooted in the given vd, and ensure that each ZAP is present in the
return (total);
}
+#endif
/*
* Load an existing storage pool, using the pool's builtin spa_config as a
} while (dmu_objset_is_dirty(mos, txg));
+#ifdef ZFS_DEBUG
if (!list_is_empty(&spa->spa_config_dirty_list)) {
/*
* Make sure that the number of ZAPs for all the vdevs matches
ASSERT3U(vdev_count_verify_zaps(spa->spa_root_vdev), ==,
all_vdev_zap_entry_count);
}
+#endif
/*
* Rewrite the vdev configuration (which includes the uberblock)