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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/nfs/nfs4_vfsops.c
          +++ new/usr/src/uts/common/fs/nfs/nfs4_vfsops.c
↓ open down ↓ 181 lines elided ↑ open up ↑
 182  182   * Debug variable to check for rdma based
 183  183   * transport startup and cleanup. Controlled
 184  184   * through /etc/system. Off by default.
 185  185   */
 186  186  extern int rdma_debug;
 187  187  
 188  188  int
 189  189  nfs4init(int fstyp, char *name)
 190  190  {
 191  191          static const fs_operation_def_t nfs4_vfsops_template[] = {
 192      -                VFSNAME_MOUNT,          { .vfs_mount = nfs4_mount },
 193      -                VFSNAME_UNMOUNT,        { .vfs_unmount = nfs4_unmount },
 194      -                VFSNAME_ROOT,           { .vfs_root = nfs4_root },
 195      -                VFSNAME_STATVFS,        { .vfs_statvfs = nfs4_statvfs },
 196      -                VFSNAME_SYNC,           { .vfs_sync = nfs4_sync },
 197      -                VFSNAME_VGET,           { .vfs_vget = nfs4_vget },
 198      -                VFSNAME_MOUNTROOT,      { .vfs_mountroot = nfs4_mountroot },
 199      -                VFSNAME_FREEVFS,        { .vfs_freevfs = nfs4_freevfs },
 200      -                NULL,                   NULL
      192 +                { VFSNAME_MOUNT,        { .vfs_mount = nfs4_mount } },
      193 +                { VFSNAME_UNMOUNT,      { .vfs_unmount = nfs4_unmount } },
      194 +                { VFSNAME_ROOT,         { .vfs_root = nfs4_root } },
      195 +                { VFSNAME_STATVFS,      { .vfs_statvfs = nfs4_statvfs } },
      196 +                { VFSNAME_SYNC,         { .vfs_sync = nfs4_sync } },
      197 +                { VFSNAME_VGET,         { .vfs_vget = nfs4_vget } },
      198 +                { VFSNAME_MOUNTROOT,    { .vfs_mountroot = nfs4_mountroot } },
      199 +                { VFSNAME_FREEVFS,      { .vfs_freevfs = nfs4_freevfs } },
      200 +                { NULL,                 { NULL } }
 201  201          };
 202  202          int error;
 203  203  
 204  204          nfs4_vfsops = NULL;
 205  205          nfs4_vnodeops = NULL;
 206  206          nfs4_trigger_vnodeops = NULL;
 207  207  
 208  208          error = vfs_setfsops(fstyp, nfs4_vfsops_template, &nfs4_vfsops);
 209  209          if (error != 0) {
 210  210                  zcmn_err(GLOBAL_ZONEID, CE_WARN,
↓ open down ↓ 4279 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX