Deleted Added
full compact
22a23
> * Copyright (c) 2012 by Delphix. All rights reserved.
164c165
< ASSERT3U(tbl->zt_blks_copied, ==, 0);
---
> ASSERT0(tbl->zt_blks_copied);
341c342
< ASSERT3U(zap->zap_f.zap_phys->zap_ptrtbl.zt_blk, ==, 0);
---
> ASSERT0(zap->zap_f.zap_phys->zap_ptrtbl.zt_blk);
477c478
< ASSERT3U(l->l_phys->l_hdr.lh_pad1, ==, 0);
---
> ASSERT0(l->l_phys->l_hdr.lh_pad1);
660c661
< for (i = 0; i < (1ULL<<prefix_diff); i++) {
---
> for (i = 0; i < (1ULL << prefix_diff); i++) {
662c663
< ASSERT3U(err, ==, 0); /* we checked for i/o errors above */
---
> ASSERT0(err); /* we checked for i/o errors above */
948a950,962
> uint64_t
> zap_create_link(objset_t *os, dmu_object_type_t ot, uint64_t parent_obj,
> const char *name, dmu_tx_t *tx)
> {
> uint64_t new_obj;
>
> VERIFY((new_obj = zap_create(os, ot, DMU_OT_NONE, 0, tx)) > 0);
> VERIFY(zap_add(os, parent_obj, name, sizeof (uint64_t), 1, &new_obj,
> tx) == 0);
>
> return (new_obj);
> }
>
1082a1097,1106
> zap_update_int_key(objset_t *os, uint64_t obj,
> uint64_t key, uint64_t value, dmu_tx_t *tx)
> {
> char name[20];
>
> (void) snprintf(name, sizeof (name), "%llx", (longlong_t)key);
> return (zap_update(os, obj, name, 8, 1, &value, tx));
> }
>
> int