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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/nfs/nfs3_vnops.c
          +++ new/usr/src/uts/common/fs/nfs/nfs3_vnops.c
↓ open down ↓ 227 lines elided ↑ open up ↑
 228  228  static int      nfs3_setsecattr(vnode_t *, vsecattr_t *, int, cred_t *,
 229  229                          caller_context_t *);
 230  230  static int      nfs3_getsecattr(vnode_t *, vsecattr_t *, int, cred_t *,
 231  231                          caller_context_t *);
 232  232  static int      nfs3_shrlock(vnode_t *, int, struct shrlock *, int, cred_t *,
 233  233                          caller_context_t *);
 234  234  
 235  235  struct vnodeops *nfs3_vnodeops;
 236  236  
 237  237  const fs_operation_def_t nfs3_vnodeops_template[] = {
 238      -        VOPNAME_OPEN,           { .vop_open = nfs3_open },
 239      -        VOPNAME_CLOSE,          { .vop_close = nfs3_close },
 240      -        VOPNAME_READ,           { .vop_read = nfs3_read },
 241      -        VOPNAME_WRITE,          { .vop_write = nfs3_write },
 242      -        VOPNAME_IOCTL,          { .vop_ioctl = nfs3_ioctl },
 243      -        VOPNAME_GETATTR,        { .vop_getattr = nfs3_getattr },
 244      -        VOPNAME_SETATTR,        { .vop_setattr = nfs3_setattr },
 245      -        VOPNAME_ACCESS,         { .vop_access = nfs3_access },
 246      -        VOPNAME_LOOKUP,         { .vop_lookup = nfs3_lookup },
 247      -        VOPNAME_CREATE,         { .vop_create = nfs3_create },
 248      -        VOPNAME_REMOVE,         { .vop_remove = nfs3_remove },
 249      -        VOPNAME_LINK,           { .vop_link = nfs3_link },
 250      -        VOPNAME_RENAME,         { .vop_rename = nfs3_rename },
 251      -        VOPNAME_MKDIR,          { .vop_mkdir = nfs3_mkdir },
 252      -        VOPNAME_RMDIR,          { .vop_rmdir = nfs3_rmdir },
 253      -        VOPNAME_READDIR,        { .vop_readdir = nfs3_readdir },
 254      -        VOPNAME_SYMLINK,        { .vop_symlink = nfs3_symlink },
 255      -        VOPNAME_READLINK,       { .vop_readlink = nfs3_readlink },
 256      -        VOPNAME_FSYNC,          { .vop_fsync = nfs3_fsync },
 257      -        VOPNAME_INACTIVE,       { .vop_inactive = nfs3_inactive },
 258      -        VOPNAME_FID,            { .vop_fid = nfs3_fid },
 259      -        VOPNAME_RWLOCK,         { .vop_rwlock = nfs3_rwlock },
 260      -        VOPNAME_RWUNLOCK,       { .vop_rwunlock = nfs3_rwunlock },
 261      -        VOPNAME_SEEK,           { .vop_seek = nfs3_seek },
 262      -        VOPNAME_FRLOCK,         { .vop_frlock = nfs3_frlock },
 263      -        VOPNAME_SPACE,          { .vop_space = nfs3_space },
 264      -        VOPNAME_REALVP,         { .vop_realvp = nfs3_realvp },
 265      -        VOPNAME_GETPAGE,        { .vop_getpage = nfs3_getpage },
 266      -        VOPNAME_PUTPAGE,        { .vop_putpage = nfs3_putpage },
 267      -        VOPNAME_MAP,            { .vop_map = nfs3_map },
 268      -        VOPNAME_ADDMAP,         { .vop_addmap = nfs3_addmap },
 269      -        VOPNAME_DELMAP,         { .vop_delmap = nfs3_delmap },
      238 +        { VOPNAME_OPEN,         { .vop_open = nfs3_open } },
      239 +        { VOPNAME_CLOSE,        { .vop_close = nfs3_close } },
      240 +        { VOPNAME_READ,         { .vop_read = nfs3_read } },
      241 +        { VOPNAME_WRITE,        { .vop_write = nfs3_write } },
      242 +        { VOPNAME_IOCTL,        { .vop_ioctl = nfs3_ioctl } },
      243 +        { VOPNAME_GETATTR,      { .vop_getattr = nfs3_getattr } },
      244 +        { VOPNAME_SETATTR,      { .vop_setattr = nfs3_setattr } },
      245 +        { VOPNAME_ACCESS,       { .vop_access = nfs3_access } },
      246 +        { VOPNAME_LOOKUP,       { .vop_lookup = nfs3_lookup } },
      247 +        { VOPNAME_CREATE,       { .vop_create = nfs3_create } },
      248 +        { VOPNAME_REMOVE,       { .vop_remove = nfs3_remove } },
      249 +        { VOPNAME_LINK,         { .vop_link = nfs3_link } },
      250 +        { VOPNAME_RENAME,       { .vop_rename = nfs3_rename } },
      251 +        { VOPNAME_MKDIR,        { .vop_mkdir = nfs3_mkdir } },
      252 +        { VOPNAME_RMDIR,        { .vop_rmdir = nfs3_rmdir } },
      253 +        { VOPNAME_READDIR,      { .vop_readdir = nfs3_readdir } },
      254 +        { VOPNAME_SYMLINK,      { .vop_symlink = nfs3_symlink } },
      255 +        { VOPNAME_READLINK,     { .vop_readlink = nfs3_readlink } },
      256 +        { VOPNAME_FSYNC,        { .vop_fsync = nfs3_fsync } },
      257 +        { VOPNAME_INACTIVE,     { .vop_inactive = nfs3_inactive } },
      258 +        { VOPNAME_FID,          { .vop_fid = nfs3_fid } },
      259 +        { VOPNAME_RWLOCK,       { .vop_rwlock = nfs3_rwlock } },
      260 +        { VOPNAME_RWUNLOCK,     { .vop_rwunlock = nfs3_rwunlock } },
      261 +        { VOPNAME_SEEK,         { .vop_seek = nfs3_seek } },
      262 +        { VOPNAME_FRLOCK,       { .vop_frlock = nfs3_frlock } },
      263 +        { VOPNAME_SPACE,        { .vop_space = nfs3_space } },
      264 +        { VOPNAME_REALVP,       { .vop_realvp = nfs3_realvp } },
      265 +        { VOPNAME_GETPAGE,      { .vop_getpage = nfs3_getpage } },
      266 +        { VOPNAME_PUTPAGE,      { .vop_putpage = nfs3_putpage } },
      267 +        { VOPNAME_MAP,          { .vop_map = nfs3_map } },
      268 +        { VOPNAME_ADDMAP,       { .vop_addmap = nfs3_addmap } },
      269 +        { VOPNAME_DELMAP,       { .vop_delmap = nfs3_delmap } },
 270  270          /* no separate nfs3_dump */
 271      -        VOPNAME_DUMP,           { .vop_dump = nfs_dump },
 272      -        VOPNAME_PATHCONF,       { .vop_pathconf = nfs3_pathconf },
 273      -        VOPNAME_PAGEIO,         { .vop_pageio = nfs3_pageio },
 274      -        VOPNAME_DISPOSE,        { .vop_dispose = nfs3_dispose },
 275      -        VOPNAME_SETSECATTR,     { .vop_setsecattr = nfs3_setsecattr },
 276      -        VOPNAME_GETSECATTR,     { .vop_getsecattr = nfs3_getsecattr },
 277      -        VOPNAME_SHRLOCK,        { .vop_shrlock = nfs3_shrlock },
 278      -        VOPNAME_VNEVENT,        { .vop_vnevent = fs_vnevent_support },
 279      -        NULL,                   NULL
      271 +        { VOPNAME_DUMP,         { .vop_dump = nfs_dump } },
      272 +        { VOPNAME_PATHCONF,     { .vop_pathconf = nfs3_pathconf } },
      273 +        { VOPNAME_PAGEIO,       { .vop_pageio = nfs3_pageio } },
      274 +        { VOPNAME_DISPOSE,      { .vop_dispose = nfs3_dispose } },
      275 +        { VOPNAME_SETSECATTR,   { .vop_setsecattr = nfs3_setsecattr } },
      276 +        { VOPNAME_GETSECATTR,   { .vop_getsecattr = nfs3_getsecattr } },
      277 +        { VOPNAME_SHRLOCK,      { .vop_shrlock = nfs3_shrlock } },
      278 +        { VOPNAME_VNEVENT,      { .vop_vnevent = fs_vnevent_support } },
      279 +        { NULL,                 { NULL } }
 280  280  };
 281  281  
 282  282  /*
 283  283   * XXX:  This is referenced in modstubs.s
 284  284   */
 285  285  struct vnodeops *
 286  286  nfs3_getvnodeops(void)
 287  287  {
 288  288          return (nfs3_vnodeops);
 289  289  }
↓ open down ↓ 6461 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX