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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/udfs/udf_vnops.c
          +++ new/usr/src/uts/common/fs/udfs/udf_vnops.c
↓ open down ↓ 191 lines elided ↑ open up ↑
 192  192  } mio_master_t;
 193  193  
 194  194  typedef struct mio_slave {
 195  195          buf_t           ms_buf;         /* working buffer for this IO chunk */
 196  196          mio_master_t    *ms_ptr;        /* pointer to master */
 197  197  } mio_slave_t;
 198  198  
 199  199  struct vnodeops *udf_vnodeops;
 200  200  
 201  201  const fs_operation_def_t udf_vnodeops_template[] = {
 202      -        VOPNAME_OPEN,           { .vop_open = udf_open },
 203      -        VOPNAME_CLOSE,          { .vop_close = udf_close },
 204      -        VOPNAME_READ,           { .vop_read = udf_read },
 205      -        VOPNAME_WRITE,          { .vop_write = udf_write },
 206      -        VOPNAME_IOCTL,          { .vop_ioctl = udf_ioctl },
 207      -        VOPNAME_GETATTR,        { .vop_getattr = udf_getattr },
 208      -        VOPNAME_SETATTR,        { .vop_setattr = udf_setattr },
 209      -        VOPNAME_ACCESS,         { .vop_access = udf_access },
 210      -        VOPNAME_LOOKUP,         { .vop_lookup = udf_lookup },
 211      -        VOPNAME_CREATE,         { .vop_create = udf_create },
 212      -        VOPNAME_REMOVE,         { .vop_remove = udf_remove },
 213      -        VOPNAME_LINK,           { .vop_link = udf_link },
 214      -        VOPNAME_RENAME,         { .vop_rename = udf_rename },
 215      -        VOPNAME_MKDIR,          { .vop_mkdir = udf_mkdir },
 216      -        VOPNAME_RMDIR,          { .vop_rmdir = udf_rmdir },
 217      -        VOPNAME_READDIR,        { .vop_readdir = udf_readdir },
 218      -        VOPNAME_SYMLINK,        { .vop_symlink = udf_symlink },
 219      -        VOPNAME_READLINK,       { .vop_readlink = udf_readlink },
 220      -        VOPNAME_FSYNC,          { .vop_fsync = udf_fsync },
 221      -        VOPNAME_INACTIVE,       { .vop_inactive = udf_inactive },
 222      -        VOPNAME_FID,            { .vop_fid = udf_fid },
 223      -        VOPNAME_RWLOCK,         { .vop_rwlock = udf_rwlock },
 224      -        VOPNAME_RWUNLOCK,       { .vop_rwunlock = udf_rwunlock },
 225      -        VOPNAME_SEEK,           { .vop_seek = udf_seek },
 226      -        VOPNAME_FRLOCK,         { .vop_frlock = udf_frlock },
 227      -        VOPNAME_SPACE,          { .vop_space = udf_space },
 228      -        VOPNAME_GETPAGE,        { .vop_getpage = udf_getpage },
 229      -        VOPNAME_PUTPAGE,        { .vop_putpage = udf_putpage },
 230      -        VOPNAME_MAP,            { .vop_map = udf_map },
 231      -        VOPNAME_ADDMAP,         { .vop_addmap = udf_addmap },
 232      -        VOPNAME_DELMAP,         { .vop_delmap = udf_delmap },
 233      -        VOPNAME_PATHCONF,       { .vop_pathconf = udf_l_pathconf },
 234      -        VOPNAME_PAGEIO,         { .vop_pageio = udf_pageio },
 235      -        VOPNAME_VNEVENT,        { .vop_vnevent = fs_vnevent_support },
 236      -        NULL,                   NULL
      202 +        { VOPNAME_OPEN,         { .vop_open = udf_open } },
      203 +        { VOPNAME_CLOSE,        { .vop_close = udf_close } },
      204 +        { VOPNAME_READ,         { .vop_read = udf_read } },
      205 +        { VOPNAME_WRITE,        { .vop_write = udf_write } },
      206 +        { VOPNAME_IOCTL,        { .vop_ioctl = udf_ioctl } },
      207 +        { VOPNAME_GETATTR,      { .vop_getattr = udf_getattr } },
      208 +        { VOPNAME_SETATTR,      { .vop_setattr = udf_setattr } },
      209 +        { VOPNAME_ACCESS,       { .vop_access = udf_access } },
      210 +        { VOPNAME_LOOKUP,       { .vop_lookup = udf_lookup } },
      211 +        { VOPNAME_CREATE,       { .vop_create = udf_create } },
      212 +        { VOPNAME_REMOVE,       { .vop_remove = udf_remove } },
      213 +        { VOPNAME_LINK,         { .vop_link = udf_link } },
      214 +        { VOPNAME_RENAME,       { .vop_rename = udf_rename } },
      215 +        { VOPNAME_MKDIR,        { .vop_mkdir = udf_mkdir } },
      216 +        { VOPNAME_RMDIR,        { .vop_rmdir = udf_rmdir } },
      217 +        { VOPNAME_READDIR,      { .vop_readdir = udf_readdir } },
      218 +        { VOPNAME_SYMLINK,      { .vop_symlink = udf_symlink } },
      219 +        { VOPNAME_READLINK,     { .vop_readlink = udf_readlink } },
      220 +        { VOPNAME_FSYNC,        { .vop_fsync = udf_fsync } },
      221 +        { VOPNAME_INACTIVE,     { .vop_inactive = udf_inactive } },
      222 +        { VOPNAME_FID,          { .vop_fid = udf_fid } },
      223 +        { VOPNAME_RWLOCK,       { .vop_rwlock = udf_rwlock } },
      224 +        { VOPNAME_RWUNLOCK,     { .vop_rwunlock = udf_rwunlock } },
      225 +        { VOPNAME_SEEK,         { .vop_seek = udf_seek } },
      226 +        { VOPNAME_FRLOCK,       { .vop_frlock = udf_frlock } },
      227 +        { VOPNAME_SPACE,        { .vop_space = udf_space } },
      228 +        { VOPNAME_GETPAGE,      { .vop_getpage = udf_getpage } },
      229 +        { VOPNAME_PUTPAGE,      { .vop_putpage = udf_putpage } },
      230 +        { VOPNAME_MAP,          { .vop_map = udf_map } },
      231 +        { VOPNAME_ADDMAP,       { .vop_addmap = udf_addmap } },
      232 +        { VOPNAME_DELMAP,       { .vop_delmap = udf_delmap } },
      233 +        { VOPNAME_PATHCONF,     { .vop_pathconf = udf_l_pathconf } },
      234 +        { VOPNAME_PAGEIO,       { .vop_pageio = udf_pageio } },
      235 +        { VOPNAME_VNEVENT,      { .vop_vnevent = fs_vnevent_support } },
      236 +        { NULL,                 { NULL } }
 237  237  };
 238  238  
 239  239  /* ARGSUSED */
 240  240  static int32_t
 241  241  udf_open(
 242  242          struct vnode **vpp,
 243  243          int32_t flag,
 244  244          struct cred *cr,
 245  245          caller_context_t *ct)
 246  246  {
↓ open down ↓ 3374 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX