diff options
author | nn35248 <none@none> | 2006-09-15 11:26:15 -0700 |
---|---|---|
committer | nn35248 <none@none> | 2006-09-15 11:26:15 -0700 |
commit | 5f8e16172ef40e14cf931b329fedb86ea369a42c (patch) | |
tree | 37ab126c5ff7e80782d98f56f3d1921a51ed791d /usr/src/lib/libzfs/common/libzfs_dataset.c | |
parent | efb80947b01107dafbbf0157de0d7e1af6551259 (diff) | |
download | illumos-gate-5f8e16172ef40e14cf931b329fedb86ea369a42c.tar.gz |
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
Diffstat (limited to 'usr/src/lib/libzfs/common/libzfs_dataset.c')
-rw-r--r-- | usr/src/lib/libzfs/common/libzfs_dataset.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |