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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/mntfs/mntvnops.c
          +++ new/usr/src/uts/common/fs/mntfs/mntvnops.c
↓ open down ↓ 1865 lines elided ↑ open up ↑
1866 1866  int
1867 1867  mntcmp(vnode_t *vp1, vnode_t *vp2, caller_context_t *ct)
1868 1868  {
1869 1869          return (vp1 != NULL && vp2 != NULL && vp1->v_vfsp == vp2->v_vfsp);
1870 1870  }
1871 1871  
1872 1872  /*
1873 1873   * /mntfs vnode operations vector
1874 1874   */
1875 1875  const fs_operation_def_t mnt_vnodeops_template[] = {
1876      -        VOPNAME_OPEN,           { .vop_open = mntopen },
1877      -        VOPNAME_CLOSE,          { .vop_close = mntclose },
1878      -        VOPNAME_READ,           { .vop_read = mntread },
1879      -        VOPNAME_IOCTL,          { .vop_ioctl = mntioctl },
1880      -        VOPNAME_GETATTR,        { .vop_getattr = mntgetattr },
1881      -        VOPNAME_ACCESS,         { .vop_access = mntaccess },
1882      -        VOPNAME_FSYNC,          { .vop_fsync = mntfsync },
1883      -        VOPNAME_INACTIVE,       { .vop_inactive = mntinactive },
1884      -        VOPNAME_SEEK,           { .vop_seek = mntseek },
1885      -        VOPNAME_POLL,           { .vop_poll = mntpoll },
1886      -        VOPNAME_CMP,            { .vop_cmp = mntcmp },
1887      -        VOPNAME_DISPOSE,        { .error = fs_error },
1888      -        VOPNAME_SHRLOCK,        { .error = fs_error },
1889      -        NULL,                   NULL
     1876 +        { VOPNAME_OPEN,         { .vop_open = mntopen } },
     1877 +        { VOPNAME_CLOSE,        { .vop_close = mntclose } },
     1878 +        { VOPNAME_READ,         { .vop_read = mntread } },
     1879 +        { VOPNAME_IOCTL,        { .vop_ioctl = mntioctl } },
     1880 +        { VOPNAME_GETATTR,      { .vop_getattr = mntgetattr } },
     1881 +        { VOPNAME_ACCESS,       { .vop_access = mntaccess } },
     1882 +        { VOPNAME_FSYNC,        { .vop_fsync = mntfsync } },
     1883 +        { VOPNAME_INACTIVE,     { .vop_inactive = mntinactive } },
     1884 +        { VOPNAME_SEEK,         { .vop_seek = mntseek } },
     1885 +        { VOPNAME_POLL,         { .vop_poll = mntpoll } },
     1886 +        { VOPNAME_CMP,          { .vop_cmp = mntcmp } },
     1887 +        { VOPNAME_DISPOSE,      { .error = fs_error } },
     1888 +        { VOPNAME_SHRLOCK,      { .error = fs_error } },
     1889 +        { NULL,                 { NULL } }
1890 1890  };
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX