Print this page
fixup .text where possible
7127  remove -Wno-missing-braces from Makefile.uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/ctfs/ctfs_ctl.c
          +++ new/usr/src/uts/common/fs/ctfs/ctfs_ctl.c
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
  24   24   */
  25   25  
  26      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  27   26  
       27 +
  28   28  #include <sys/types.h>
  29   29  #include <sys/param.h>
  30   30  #include <sys/time.h>
  31   31  #include <sys/cred.h>
  32   32  #include <sys/vfs.h>
  33   33  #include <sys/vfs_opreg.h>
  34   34  #include <sys/gfs.h>
  35   35  #include <sys/vnode.h>
  36   36  #include <sys/systm.h>
  37   37  #include <sys/errno.h>
↓ open down ↓ 190 lines elided ↑ open up ↑
 228  228  
 229  229  const fs_operation_def_t ctfs_tops_ctl[] = {
 230  230          { VOPNAME_OPEN,         { .vop_open = ctfs_ctl_open } },
 231  231          { VOPNAME_CLOSE,        { .vop_close = ctfs_close } },
 232  232          { VOPNAME_IOCTL,        { .vop_ioctl = ctfs_ctl_ioctl } },
 233  233          { VOPNAME_GETATTR,      { .vop_getattr = ctfs_ctl_getattr } },
 234  234          { VOPNAME_ACCESS,       { .vop_access = ctfs_ctl_access } },
 235  235          { VOPNAME_READDIR,      { .error = fs_notdir } },
 236  236          { VOPNAME_LOOKUP,       { .error = fs_notdir } },
 237  237          { VOPNAME_INACTIVE,     { .vop_inactive = gfs_vop_inactive } },
 238      -        { NULL, NULL }
      238 +        { NULL,                 { NULL } }
 239  239  };
 240  240  
 241  241  /*
 242  242   * ctfs_create_statnode
 243  243   *
 244  244   * If necessary, creates a ctlnode for a status file and inserts it
 245  245   * into the specified cdirnode's gfs_dir_t.  Returns either the
 246  246   * existing vnode or the new one.
 247  247   */
 248  248  vnode_t *
↓ open down ↓ 78 lines elided ↑ open up ↑
 327  327  
 328  328  const fs_operation_def_t ctfs_tops_stat[] = {
 329  329          { VOPNAME_OPEN,         { .vop_open = ctfs_open } },
 330  330          { VOPNAME_CLOSE,        { .vop_close = ctfs_close } },
 331  331          { VOPNAME_IOCTL,        { .vop_ioctl = ctfs_stat_ioctl } },
 332  332          { VOPNAME_GETATTR,      { .vop_getattr = ctfs_stat_getattr } },
 333  333          { VOPNAME_ACCESS,       { .vop_access = ctfs_access_readonly } },
 334  334          { VOPNAME_READDIR,      { .error = fs_notdir } },
 335  335          { VOPNAME_LOOKUP,       { .error = fs_notdir } },
 336  336          { VOPNAME_INACTIVE,     { .vop_inactive = gfs_vop_inactive } },
 337      -        { NULL, NULL }
      337 +        { NULL,                 { NULL } }
 338  338  };
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX