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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/dev/sdev_vtops.c
          +++ new/usr/src/uts/common/fs/dev/sdev_vtops.c
↓ open down ↓ 472 lines elided ↑ open up ↑
 473  473  
 474  474          if (error) {
 475  475                  VN_RELE(vp);
 476  476          } else
 477  477                  *vpp = vp;
 478  478  
 479  479          return (error);
 480  480  }
 481  481  
 482  482  const fs_operation_def_t devvt_vnodeops_tbl[] = {
 483      -        VOPNAME_READDIR,        { .vop_readdir = devvt_readdir },
 484      -        VOPNAME_LOOKUP,         { .vop_lookup = devvt_lookup },
 485      -        VOPNAME_CREATE,         { .vop_create = devvt_create },
 486      -        VOPNAME_REMOVE,         { .error = fs_nosys },
 487      -        VOPNAME_MKDIR,          { .error = fs_nosys },
 488      -        VOPNAME_RMDIR,          { .error = fs_nosys },
 489      -        VOPNAME_SYMLINK,        { .error = fs_nosys },
 490      -        VOPNAME_SETSECATTR,     { .error = fs_nosys },
 491      -        NULL,                   NULL
      483 +        { VOPNAME_READDIR,      { .vop_readdir = devvt_readdir } },
      484 +        { VOPNAME_LOOKUP,       { .vop_lookup = devvt_lookup } },
      485 +        { VOPNAME_CREATE,       { .vop_create = devvt_create } },
      486 +        { VOPNAME_REMOVE,       { .error = fs_nosys } },
      487 +        { VOPNAME_MKDIR,        { .error = fs_nosys } },
      488 +        { VOPNAME_RMDIR,        { .error = fs_nosys } },
      489 +        { VOPNAME_SYMLINK,      { .error = fs_nosys } },
      490 +        { VOPNAME_SETSECATTR,   { .error = fs_nosys } },
      491 +        { NULL,                 { NULL } }
 492  492  };
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX