Print this page
7127  remove -Wno-missing-braces from Makefile.uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/zfs/dmu_send.c
          +++ new/usr/src/uts/common/fs/zfs/dmu_send.c
↓ open down ↓ 702 lines elided ↑ open up ↑
 703  703      boolean_t is_clone, boolean_t embedok, boolean_t large_block_ok, int outfd,
 704  704      uint64_t resumeobj, uint64_t resumeoff,
 705  705      vnode_t *vp, offset_t *off)
 706  706  {
 707  707          objset_t *os;
 708  708          dmu_replay_record_t *drr;
 709  709          dmu_sendarg_t *dsp;
 710  710          int err;
 711  711          uint64_t fromtxg = 0;
 712  712          uint64_t featureflags = 0;
 713      -        struct send_thread_arg to_arg = { 0 };
      713 +        struct send_thread_arg to_arg = { .error_code = 0 };
 714  714  
 715  715          err = dmu_objset_from_ds(to_ds, &os);
 716  716          if (err != 0) {
 717  717                  dsl_pool_rele(dp, tag);
 718  718                  return (err);
 719  719          }
 720  720  
 721  721          drr = kmem_zalloc(sizeof (dmu_replay_record_t), KM_SLEEP);
 722  722          drr->drr_type = DRR_BEGIN;
 723  723          drr->drr_u.drr_begin.drr_magic = DMU_BACKUP_MAGIC;
↓ open down ↓ 2458 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX