Print this page

        

@@ -20,11 +20,10 @@
  */
 
 /*
  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
- * Copyright 2011 Joyent Inc.  All rights reserved.
  */
 
 #include "lint.h"
 #include "thr_uberdata.h"
 #include <sys/types.h>

@@ -39,12 +38,11 @@
 #include <errno.h>
 
 zoneid_t
 zone_create(const char *name, const char *root, const struct priv_set *privs,
     const char *rctls, size_t rctlsz, const char *zfs, size_t zfssz,
-    int *extended_error, int match, int doi, const bslabel_t *label, int flags,
-    zoneid_t req_zoneid)
+    int *extended_error, int match, int doi, const bslabel_t *label, int flags)
 {
         zone_def  zd;
         priv_data_t *d;
 
         LOADPRIVDATA(d);

@@ -60,11 +58,10 @@
         zd.extended_error = extended_error;
         zd.match = match;
         zd.doi = doi;
         zd.label = label;
         zd.flags = flags;
-        zd.zoneid = req_zoneid;
 
         return ((zoneid_t)syscall(SYS_zone, ZONE_CREATE, &zd));
 }
 
 int