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_traverse.c
          +++ new/usr/src/uts/common/fs/zfs/dmu_traverse.c
↓ open down ↓ 540 lines elided ↑ open up ↑
 541  541  /*
 542  542   * NB: dataset must not be changing on-disk (eg, is a snapshot or we are
 543  543   * in syncing context).
 544  544   */
 545  545  static int
 546  546  traverse_impl(spa_t *spa, dsl_dataset_t *ds, uint64_t objset, blkptr_t *rootbp,
 547  547      uint64_t txg_start, zbookmark_phys_t *resume, int flags,
 548  548      blkptr_cb_t func, void *arg)
 549  549  {
 550  550          traverse_data_t td;
 551      -        prefetch_data_t pd = { 0 };
      551 +        prefetch_data_t pd = { .pd_flags = 0 };
 552  552          zbookmark_phys_t czb;
 553  553          int err;
 554  554  
 555  555          ASSERT(ds == NULL || objset == ds->ds_object);
 556  556          ASSERT(!(flags & TRAVERSE_PRE) || !(flags & TRAVERSE_POST));
 557  557  
 558  558          td.td_spa = spa;
 559  559          td.td_objset = objset;
 560  560          td.td_rootbp = rootbp;
 561  561          td.td_min_txg = txg_start;
↓ open down ↓ 143 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX