summaryrefslogtreecommitdiff
path: root/usr/src/cmd/zoneadm
diff options
context:
space:
mode:
authorJohn Sonnenschein <johns@joyent.com>2012-05-17 18:26:57 +0000
committerJohn Sonnenschein <johns@joyent.com>2012-05-17 18:26:57 +0000
commit04b244dd661c24b510ac22936decfc0972d202d3 (patch)
tree3ebfef98afc303fddf3415d6fba64e8682f495e8 /usr/src/cmd/zoneadm
parenteac250589e41f1b705e1b7427b02b3379aac9f9e (diff)
parenta69187741b83640a90dd8586195456dd50c016a8 (diff)
downloadillumos-joyent-20120517.tar.gz
Merge git.joyent.com:illumos-joyent20120517
Diffstat (limited to 'usr/src/cmd/zoneadm')
-rw-r--r--usr/src/cmd/zoneadm/svc-zones3
-rw-r--r--usr/src/cmd/zoneadm/zfs.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/usr/src/cmd/zoneadm/svc-zones b/usr/src/cmd/zoneadm/svc-zones
index 7b5cd26baf..c73bd44417 100644
--- a/usr/src/cmd/zoneadm/svc-zones
+++ b/usr/src/cmd/zoneadm/svc-zones
@@ -21,7 +21,7 @@
#
#
# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
-# Copyright (c) 2011, Joyent Inc. All rights reserved.
+# Copyright (c) 2012, Joyent Inc. All rights reserved.
set -o xtrace
@@ -41,6 +41,7 @@ MAN_DIRS="\
network/dns \
network/ipsec \
network/ldap \
+ network/loadbalancer \
network/nfs \
network/nis \
network/routing \
diff --git a/usr/src/cmd/zoneadm/zfs.c b/usr/src/cmd/zoneadm/zfs.c
index 8966023ebe..78c4583465 100644
--- a/usr/src/cmd/zoneadm/zfs.c
+++ b/usr/src/cmd/zoneadm/zfs.c
@@ -21,6 +21,7 @@
/*
* Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012 by Delphix. All rights reserved.
*/
/*
@@ -723,7 +724,7 @@ rename_snap(zfs_handle_t *zhp, void *data)
(void) snprintf(template, sizeof (template), "%s%d", cbp->match_name,
cbp->max++);
- res = (zfs_rename(zhp, template, B_FALSE) != 0);
+ res = (zfs_rename(zhp, template, B_FALSE, B_FALSE) != 0);
if (res != 0)
(void) fprintf(stderr, gettext("failed to rename snapshot %s "
"to %s: %s\n"), zfs_get_name(zhp), template,