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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/namefs/namevno.c
          +++ new/usr/src/uts/common/fs/namefs/namevno.c
↓ open down ↓ 457 lines elided ↑ open up ↑
 458  458  nm_poll(vnode_t *vp, short events, int anyyet, short *reventsp,
 459  459          pollhead_t **phpp, caller_context_t *ct)
 460  460  {
 461  461          return (VOP_POLL(VTONM(vp)->nm_filevp, events, anyyet, reventsp,
 462  462              phpp, ct));
 463  463  }
 464  464  
 465  465  struct vnodeops *nm_vnodeops;
 466  466  
 467  467  const fs_operation_def_t nm_vnodeops_template[] = {
 468      -        VOPNAME_OPEN,           { .vop_open = nm_open },
 469      -        VOPNAME_CLOSE,          { .vop_close = nm_close },
 470      -        VOPNAME_READ,           { .vop_read = nm_read },
 471      -        VOPNAME_WRITE,          { .vop_write = nm_write },
 472      -        VOPNAME_IOCTL,          { .vop_ioctl = nm_ioctl },
 473      -        VOPNAME_GETATTR,        { .vop_getattr = nm_getattr },
 474      -        VOPNAME_SETATTR,        { .vop_setattr = nm_setattr },
 475      -        VOPNAME_ACCESS,         { .vop_access = nm_access },
 476      -        VOPNAME_CREATE,         { .vop_create = nm_create },
 477      -        VOPNAME_LINK,           { .vop_link = nm_link },
 478      -        VOPNAME_FSYNC,          { .vop_fsync = nm_fsync },
 479      -        VOPNAME_INACTIVE,       { .vop_inactive = nm_inactive },
 480      -        VOPNAME_FID,            { .vop_fid = nm_fid },
 481      -        VOPNAME_RWLOCK,         { .vop_rwlock = nm_rwlock },
 482      -        VOPNAME_RWUNLOCK,       { .vop_rwunlock = nm_rwunlock },
 483      -        VOPNAME_SEEK,           { .vop_seek = nm_seek },
 484      -        VOPNAME_REALVP,         { .vop_realvp = nm_realvp },
 485      -        VOPNAME_POLL,           { .vop_poll = nm_poll },
 486      -        VOPNAME_DISPOSE,        { .error = fs_error },
 487      -        NULL,                   NULL
      468 +        { VOPNAME_OPEN,         { .vop_open = nm_open } },
      469 +        { VOPNAME_CLOSE,        { .vop_close = nm_close } },
      470 +        { VOPNAME_READ,         { .vop_read = nm_read } },
      471 +        { VOPNAME_WRITE,        { .vop_write = nm_write } },
      472 +        { VOPNAME_IOCTL,        { .vop_ioctl = nm_ioctl } },
      473 +        { VOPNAME_GETATTR,      { .vop_getattr = nm_getattr } },
      474 +        { VOPNAME_SETATTR,      { .vop_setattr = nm_setattr } },
      475 +        { VOPNAME_ACCESS,       { .vop_access = nm_access } },
      476 +        { VOPNAME_CREATE,       { .vop_create = nm_create } },
      477 +        { VOPNAME_LINK,         { .vop_link = nm_link } },
      478 +        { VOPNAME_FSYNC,        { .vop_fsync = nm_fsync } },
      479 +        { VOPNAME_INACTIVE,     { .vop_inactive = nm_inactive } },
      480 +        { VOPNAME_FID,          { .vop_fid = nm_fid } },
      481 +        { VOPNAME_RWLOCK,       { .vop_rwlock = nm_rwlock } },
      482 +        { VOPNAME_RWUNLOCK,     { .vop_rwunlock = nm_rwunlock } },
      483 +        { VOPNAME_SEEK,         { .vop_seek = nm_seek } },
      484 +        { VOPNAME_REALVP,       { .vop_realvp = nm_realvp } },
      485 +        { VOPNAME_POLL,         { .vop_poll = nm_poll } },
      486 +        { VOPNAME_DISPOSE,      { .error = fs_error } },
      487 +        { NULL,                 { NULL } }
 488  488  };
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX