equal
deleted
inserted
replaced
204 * pointer (instead of packing it against the end of the |
204 * pointer (instead of packing it against the end of the |
205 * dnode buffer). |
205 * dnode buffer). |
206 */ |
206 */ |
207 int off = (dnp->dn_nblkptr-1) * sizeof (blkptr_t); |
207 int off = (dnp->dn_nblkptr-1) * sizeof (blkptr_t); |
208 size_t len = DN_MAX_BONUSLEN - off; |
208 size_t len = DN_MAX_BONUSLEN - off; |
|
209 ASSERT3U(dnp->dn_bonustype, <, DMU_OT_NUMTYPES); |
209 dmu_ot[dnp->dn_bonustype].ot_byteswap(dnp->dn_bonus + off, len); |
210 dmu_ot[dnp->dn_bonustype].ot_byteswap(dnp->dn_bonus + off, len); |
210 } |
211 } |
211 } |
212 } |
212 |
213 |
213 void |
214 void |