From 5f8e16172ef40e14cf931b329fedb86ea369a42c Mon Sep 17 00:00:00 2001 From: nn35248 Date: Fri, 15 Sep 2006 11:26:15 -0700 Subject: 6468554 zone install with a zfs zonepath could not create a dataset 6469902 BrandZ and GCC don't get along 6470348 Makefile race condition in usr/lib/brand/lx 6470764 zfs_clone() confuses filesystems and volumes --- usr/src/lib/libzfs/common/libzfs_dataset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr/src/lib/libzfs/common/libzfs_dataset.c') diff --git a/usr/src/lib/libzfs/common/libzfs_dataset.c b/usr/src/lib/libzfs/common/libzfs_dataset.c index ffef8ad8ed..d3a7aed7e3 100644 --- a/usr/src/lib/libzfs/common/libzfs_dataset.c +++ b/usr/src/lib/libzfs/common/libzfs_dataset.c @@ -2248,10 +2248,10 @@ zfs_clone(zfs_handle_t *zhp, const char *target, nvlist_t *props) /* do the clone */ if (ZFS_IS_VOLUME(zhp)) { zc.zc_objset_type = DMU_OST_ZVOL; - type = ZFS_TYPE_FILESYSTEM; + type = ZFS_TYPE_VOLUME; } else { zc.zc_objset_type = DMU_OST_ZFS; - type = ZFS_TYPE_VOLUME; + type = ZFS_TYPE_FILESYSTEM; } if (props) { -- cgit v1.2.3