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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/nfs/nfs3_vfsops.c
          +++ new/usr/src/uts/common/fs/nfs/nfs3_vfsops.c
↓ open down ↓ 145 lines elided ↑ open up ↑
 146  146   * Debug variable to check for rdma based
 147  147   * transport startup and cleanup. Controlled
 148  148   * through /etc/system. Off by default.
 149  149   */
 150  150  extern int rdma_debug;
 151  151  
 152  152  int
 153  153  nfs3init(int fstyp, char *name)
 154  154  {
 155  155          static const fs_operation_def_t nfs3_vfsops_template[] = {
 156      -                VFSNAME_MOUNT,          { .vfs_mount = nfs3_mount },
 157      -                VFSNAME_UNMOUNT,        { .vfs_unmount = nfs3_unmount },
 158      -                VFSNAME_ROOT,           { .vfs_root = nfs3_root },
 159      -                VFSNAME_STATVFS,        { .vfs_statvfs = nfs3_statvfs },
 160      -                VFSNAME_SYNC,           { .vfs_sync = nfs3_sync },
 161      -                VFSNAME_VGET,           { .vfs_vget = nfs3_vget },
 162      -                VFSNAME_MOUNTROOT,      { .vfs_mountroot = nfs3_mountroot },
 163      -                VFSNAME_FREEVFS,        { .vfs_freevfs = nfs3_freevfs },
 164      -                NULL,                   NULL
      156 +                { VFSNAME_MOUNT,        { .vfs_mount = nfs3_mount } },
      157 +                { VFSNAME_UNMOUNT,      { .vfs_unmount = nfs3_unmount } },
      158 +                { VFSNAME_ROOT,         { .vfs_root = nfs3_root } },
      159 +                { VFSNAME_STATVFS,      { .vfs_statvfs = nfs3_statvfs } },
      160 +                { VFSNAME_SYNC,         { .vfs_sync = nfs3_sync } },
      161 +                { VFSNAME_VGET,         { .vfs_vget = nfs3_vget } },
      162 +                { VFSNAME_MOUNTROOT,    { .vfs_mountroot = nfs3_mountroot } },
      163 +                { VFSNAME_FREEVFS,      { .vfs_freevfs = nfs3_freevfs } },
      164 +                { NULL,                 { NULL } }
 165  165          };
 166  166          int error;
 167  167  
 168  168          error = vfs_setfsops(fstyp, nfs3_vfsops_template, &nfs3_vfsops);
 169  169          if (error != 0) {
 170  170                  zcmn_err(GLOBAL_ZONEID, CE_WARN,
 171  171                      "nfs3init: bad vfs ops template");
 172  172                  return (error);
 173  173          }
 174  174  
↓ open down ↓ 1642 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX