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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/bootfs/bootfs_vnops.c
          +++ new/usr/src/uts/common/fs/bootfs/bootfs_vnops.c
↓ open down ↓ 517 lines elided ↑ open up ↑
 518  518                  ret = 0;
 519  519                  break;
 520  520          default:
 521  521                  ret = fs_pathconf(vp, cmd, valp, cr, ct);
 522  522          }
 523  523  
 524  524          return (ret);
 525  525  }
 526  526  
 527  527  const fs_operation_def_t bootfs_vnodeops_template[] = {
 528      -        VOPNAME_OPEN,           { .vop_open = bootfs_open },
 529      -        VOPNAME_CLOSE,          { .vop_close = bootfs_close },
 530      -        VOPNAME_READ,           { .vop_read = bootfs_read },
 531      -        VOPNAME_IOCTL,          { .vop_ioctl = bootfs_ioctl },
 532      -        VOPNAME_GETATTR,        { .vop_getattr = bootfs_getattr },
 533      -        VOPNAME_ACCESS,         { .vop_access = bootfs_access },
 534      -        VOPNAME_LOOKUP,         { .vop_lookup = bootfs_lookup },
 535      -        VOPNAME_READDIR,        { .vop_readdir = bootfs_readdir },
 536      -        VOPNAME_INACTIVE,       { .vop_inactive = bootfs_inactive },
 537      -        VOPNAME_RWLOCK,         { .vop_rwlock = bootfs_rwlock },
 538      -        VOPNAME_RWUNLOCK,       { .vop_rwunlock = bootfs_rwunlock },
 539      -        VOPNAME_SEEK,           { .vop_seek = bootfs_seek },
 540      -        VOPNAME_GETPAGE,        { .vop_getpage = bootfs_getpage },
 541      -        VOPNAME_MAP,            { .vop_map = bootfs_map },
 542      -        VOPNAME_ADDMAP,         { .vop_addmap = bootfs_addmap },
 543      -        VOPNAME_DELMAP,         { .vop_delmap = bootfs_delmap },
 544      -        VOPNAME_PATHCONF,       { .vop_pathconf = bootfs_pathconf },
 545      -        VOPNAME_VNEVENT,        { .vop_vnevent = fs_vnevent_nosupport },
 546      -        NULL,                   NULL
      528 +        { VOPNAME_OPEN,         { .vop_open = bootfs_open } },
      529 +        { VOPNAME_CLOSE,        { .vop_close = bootfs_close } },
      530 +        { VOPNAME_READ,         { .vop_read = bootfs_read } },
      531 +        { VOPNAME_IOCTL,        { .vop_ioctl = bootfs_ioctl } },
      532 +        { VOPNAME_GETATTR,      { .vop_getattr = bootfs_getattr } },
      533 +        { VOPNAME_ACCESS,       { .vop_access = bootfs_access } },
      534 +        { VOPNAME_LOOKUP,       { .vop_lookup = bootfs_lookup } },
      535 +        { VOPNAME_READDIR,      { .vop_readdir = bootfs_readdir } },
      536 +        { VOPNAME_INACTIVE,     { .vop_inactive = bootfs_inactive } },
      537 +        { VOPNAME_RWLOCK,       { .vop_rwlock = bootfs_rwlock } },
      538 +        { VOPNAME_RWUNLOCK,     { .vop_rwunlock = bootfs_rwunlock } },
      539 +        { VOPNAME_SEEK,         { .vop_seek = bootfs_seek } },
      540 +        { VOPNAME_GETPAGE,      { .vop_getpage = bootfs_getpage } },
      541 +        { VOPNAME_MAP,          { .vop_map = bootfs_map } },
      542 +        { VOPNAME_ADDMAP,       { .vop_addmap = bootfs_addmap } },
      543 +        { VOPNAME_DELMAP,       { .vop_delmap = bootfs_delmap } },
      544 +        { VOPNAME_PATHCONF,     { .vop_pathconf = bootfs_pathconf } },
      545 +        { VOPNAME_VNEVENT,      { .vop_vnevent = fs_vnevent_nosupport } },
      546 +        { NULL,                 { NULL } }
 547  547  };
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX