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

@@ -57,18 +57,18 @@
     caller_context_t *, int);
 static int smb_fem_fcn_symlink(femarg_t *, char *, vattr_t *,
     char *, cred_t *, caller_context_t *, int);
 
 static const fs_operation_def_t smb_fcn_tmpl[] = {
-        VOPNAME_CREATE, { .femop_create = smb_fem_fcn_create },
-        VOPNAME_REMOVE, {.femop_remove = smb_fem_fcn_remove},
-        VOPNAME_RENAME, {.femop_rename = smb_fem_fcn_rename},
-        VOPNAME_MKDIR, {.femop_mkdir = smb_fem_fcn_mkdir},
-        VOPNAME_RMDIR, {.femop_rmdir = smb_fem_fcn_rmdir},
-        VOPNAME_LINK, {.femop_link = smb_fem_fcn_link},
-        VOPNAME_SYMLINK, {.femop_symlink = smb_fem_fcn_symlink},
-        NULL, NULL
+        { VOPNAME_CREATE, { .femop_create = smb_fem_fcn_create } },
+        { VOPNAME_REMOVE, {.femop_remove = smb_fem_fcn_remove} },
+        { VOPNAME_RENAME, {.femop_rename = smb_fem_fcn_rename} },
+        { VOPNAME_MKDIR, {.femop_mkdir = smb_fem_fcn_mkdir} },
+        { VOPNAME_RMDIR, {.femop_rmdir = smb_fem_fcn_rmdir} },
+        { VOPNAME_LINK, {.femop_link = smb_fem_fcn_link} },
+        { VOPNAME_SYMLINK, {.femop_symlink = smb_fem_fcn_symlink} },
+        { NULL, {NULL} }
 };
 
 /*
  * Declarations for oplock FEM monitors
  */

@@ -86,18 +86,18 @@
     offset_t, cred_t *, caller_context_t *);
 static int smb_fem_oplock_vnevent(femarg_t *, vnevent_t, vnode_t *, char *,
     caller_context_t *);
 
 static const fs_operation_def_t smb_oplock_tmpl[] = {
-        VOPNAME_OPEN,   { .femop_open = smb_fem_oplock_open },
-        VOPNAME_READ,   { .femop_read = smb_fem_oplock_read },
-        VOPNAME_WRITE,  { .femop_write = smb_fem_oplock_write },
-        VOPNAME_SETATTR, { .femop_setattr = smb_fem_oplock_setattr },
-        VOPNAME_RWLOCK, { .femop_rwlock = smb_fem_oplock_rwlock },
-        VOPNAME_SPACE,  { .femop_space = smb_fem_oplock_space },
-        VOPNAME_VNEVENT, { .femop_vnevent = smb_fem_oplock_vnevent },
-        NULL, NULL
+        { VOPNAME_OPEN, { .femop_open = smb_fem_oplock_open } },
+        { VOPNAME_READ, { .femop_read = smb_fem_oplock_read } },
+        { VOPNAME_WRITE,        { .femop_write = smb_fem_oplock_write } },
+        { VOPNAME_SETATTR, { .femop_setattr = smb_fem_oplock_setattr } },
+        { VOPNAME_RWLOCK, { .femop_rwlock = smb_fem_oplock_rwlock } },
+        { VOPNAME_SPACE,        { .femop_space = smb_fem_oplock_space } },
+        { VOPNAME_VNEVENT, { .femop_vnevent = smb_fem_oplock_vnevent } },
+        { NULL, {NULL} }
 };
 
 static int smb_fem_oplock_break(femarg_t *, caller_context_t *, uint32_t);
 
 /*