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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/zfs/zvol.c
          +++ new/usr/src/uts/common/fs/zfs/zvol.c
↓ open down ↓ 1471 lines elided ↑ open up ↑
1472 1472          zfs_range_unlock(rl);
1473 1473          if (sync)
1474 1474                  zil_commit(zv->zv_zilog, ZVOL_OBJ);
1475 1475          return (error);
1476 1476  }
1477 1477  
1478 1478  int
1479 1479  zvol_getefi(void *arg, int flag, uint64_t vs, uint8_t bs)
1480 1480  {
1481 1481          struct uuid uuid = EFI_RESERVED;
1482      -        efi_gpe_t gpe = { 0 };
     1482 +        efi_gpe_t gpe = { {0} };
1483 1483          uint32_t crc;
1484 1484          dk_efi_t efi;
1485 1485          int length;
1486 1486          char *ptr;
1487 1487  
1488 1488          if (ddi_copyin(arg, &efi, sizeof (dk_efi_t), flag))
1489 1489                  return (SET_ERROR(EFAULT));
1490 1490          ptr = (char *)(uintptr_t)efi.dki_data_64;
1491 1491          length = efi.dki_length;
1492 1492          /*
↓ open down ↓ 677 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX