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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/zfs/zfs_sa.c
          +++ new/usr/src/uts/common/fs/zfs/zfs_sa.c
↓ open down ↓ 191 lines elided ↑ open up ↑
 192  192   */
 193  193  
 194  194  void
 195  195  zfs_sa_upgrade(sa_handle_t *hdl, dmu_tx_t *tx)
 196  196  {
 197  197          dmu_buf_t *db = sa_get_db(hdl);
 198  198          znode_t *zp = sa_get_userdata(hdl);
 199  199          zfsvfs_t *zfsvfs = zp->z_zfsvfs;
 200  200          sa_bulk_attr_t bulk[20];
 201  201          int count = 0;
 202      -        sa_bulk_attr_t sa_attrs[20] = { 0 };
      202 +        sa_bulk_attr_t sa_attrs[20] = { {NULL} };
 203  203          zfs_acl_locator_cb_t locate = { 0 };
 204  204          uint64_t uid, gid, mode, rdev, xattr, parent;
 205  205          uint64_t crtime[2], mtime[2], ctime[2];
 206  206          zfs_acl_phys_t znode_acl;
 207  207          char scanstamp[AV_SCANSTAMP_SZ];
 208  208          boolean_t drop_lock = B_FALSE;
 209  209  
 210  210          /*
 211  211           * No upgrade if ACL isn't cached
 212  212           * since we won't know which locks are held
↓ open down ↓ 121 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX