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_ipnetops.c
          +++ new/usr/src/uts/common/fs/dev/sdev_ipnetops.c
↓ open down ↓ 215 lines elided ↑ open up ↑
 216  216                  devipnet_filldir(sdvp);
 217  217  
 218  218          return (devname_readdir_func(dvp, uiop, cred, eofp, 0));
 219  219  }
 220  220  
 221  221  /*
 222  222   * We override lookup and readdir to build entries based on the
 223  223   * in kernel ipnet table.
 224  224   */
 225  225  const fs_operation_def_t devipnet_vnodeops_tbl[] = {
 226      -        VOPNAME_READDIR,        { .vop_readdir = devipnet_readdir },
 227      -        VOPNAME_LOOKUP,         { .vop_lookup = devipnet_lookup },
 228      -        VOPNAME_CREATE,         { .error = fs_nosys },
 229      -        VOPNAME_REMOVE,         { .error = fs_nosys },
 230      -        VOPNAME_MKDIR,          { .error = fs_nosys },
 231      -        VOPNAME_RMDIR,          { .error = fs_nosys },
 232      -        VOPNAME_SYMLINK,        { .error = fs_nosys },
 233      -        VOPNAME_SETSECATTR,     { .error = fs_nosys },
 234      -        NULL,                   NULL
      226 +        { VOPNAME_READDIR,      { .vop_readdir = devipnet_readdir } },
      227 +        { VOPNAME_LOOKUP,       { .vop_lookup = devipnet_lookup } },
      228 +        { VOPNAME_CREATE,       { .error = fs_nosys } },
      229 +        { VOPNAME_REMOVE,       { .error = fs_nosys } },
      230 +        { VOPNAME_MKDIR,        { .error = fs_nosys } },
      231 +        { VOPNAME_RMDIR,        { .error = fs_nosys } },
      232 +        { VOPNAME_SYMLINK,      { .error = fs_nosys } },
      233 +        { VOPNAME_SETSECATTR,   { .error = fs_nosys } },
      234 +        { NULL,                 { NULL } }
 235  235  };
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX