3009 slim_source gate fails to build on 96 Build96
authorEthan Quach <Ethan.Quach@Sun.COM>
Thu, 21 Aug 2008 15:54:01 -0700
changeset 196 160bd86b2050
parent 195 8a25f1f8d4bf
child 197 ac1383e6038c
3009 slim_source gate fails to build on 96
usr/src/lib/libbe/be_create.c
usr/src/lib/libbe/be_snapshot.c
--- a/usr/src/lib/libbe/be_create.c	Thu Aug 21 15:31:13 2008 -0700
+++ b/usr/src/lib/libbe/be_create.c	Thu Aug 21 15:54:01 2008 -0700
@@ -901,7 +901,7 @@
 			/*
 			 * Take a recursive snapshot of the original BE.
 			 */
-			if (zfs_snapshot(g_zfs, ss, B_TRUE)) {
+			if (zfs_snapshot(g_zfs, ss, B_TRUE, NULL)) {
 				be_print_err(gettext("be_copy: "
 				    "failed to snapshot BE (%s): %s\n"),
 				    ss, libzfs_error_description(g_zfs));
--- a/usr/src/lib/libbe/be_snapshot.c	Thu Aug 21 15:31:13 2008 -0700
+++ b/usr/src/lib/libbe/be_snapshot.c	Thu Aug 21 15:54:01 2008 -0700
@@ -448,7 +448,7 @@
 	}
 
 	/* Create the snapshots recursively */
-	if (zfs_snapshot(g_zfs, ss, B_TRUE) != 0) {
+	if (zfs_snapshot(g_zfs, ss, B_TRUE, NULL) != 0) {
 		if (!autoname || libzfs_errno(g_zfs) != EZFS_EXISTS) {
 			be_print_err(gettext("be_create_snapshot: "
 			    "recursive snapshot of %s failed: %s\n"),
@@ -477,7 +477,7 @@
 				    bt.obe_root_ds, bt.obe_snap_name);
 
 				/* Create the snapshots recursively */
-				if (zfs_snapshot(g_zfs, ss, B_TRUE) != 0) {
+				if (zfs_snapshot(g_zfs, ss, B_TRUE, NULL) != 0) {
 					if (libzfs_errno(g_zfs) !=
 					    EZFS_EXISTS) {
 						be_print_err(gettext(