Print this page
OS-192 zone_create() warning on headnode

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/zoneadmd/zoneadmd.h
          +++ new/usr/src/cmd/zoneadmd/zoneadmd.h
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  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  /*
  23   23   * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24   * Copyright 2014 Nexenta Systems, Inc. All rights reserved.
       25 + * Copyright (c) 2011, Joyent Inc. All rights reserved.
  25   26   */
  26   27  
  27   28  #ifndef _ZONEADMD_H
  28   29  #define _ZONEADMD_H
  29   30  
  30   31  #ifdef  __cplusplus
  31   32  extern "C" {
  32   33  #endif
  33   34  
  34   35  #include <libdladm.h>
↓ open down ↓ 93 lines elided ↑ open up ↑
 128  129   */
 129  130  typedef enum {
 130  131          Z_MNT_BOOT = 0,
 131  132          Z_MNT_SCRATCH,
 132  133          Z_MNT_UPDATE
 133  134  } zone_mnt_t;
 134  135  
 135  136  /*
 136  137   * Virtual platform interfaces.
 137  138   */
 138      -extern zoneid_t vplat_create(zlog_t *, zone_mnt_t);
      139 +extern zoneid_t vplat_create(zlog_t *, zone_mnt_t, zoneid_t);
 139  140  extern int vplat_bringup(zlog_t *, zone_mnt_t, zoneid_t);
 140  141  extern int vplat_teardown(zlog_t *, boolean_t, boolean_t);
 141  142  extern int vplat_get_iptype(zlog_t *, zone_iptype_t *);
 142  143  
 143  144  /*
 144  145   * Filesystem mounting interfaces.
 145  146   */
 146  147  extern int valid_mount_path(zlog_t *, const char *, const char *,
 147  148      const char *, const char *);
 148  149  extern int make_one_dir(zlog_t *, const char *, const char *,
↓ open down ↓ 24 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX