diff usr/src/uts/common/fs/zfs/dsl_dataset.c @ 6643:3a34b0dbb107

6625086 changing cachefile doesn't remove old cache on last user 6633599 need a mechanism to import faulted pools 6646102 hot spares are not activated when opening a pool 6646106 ZFS DE is overly complicated 6646195 ZFS DE leaks pool handles 6646618 want dataset GUIDs as a property in libzfs 6662441 L2ARC FMA support 6687745 zdb -U doesn't work with anything but pool names 6687750 ::spa_vdevs should print out cache devices 6687753 cache devices should support offline/online 6687766 ZFS should post a sysevent when config changes 6688366 bad indentation for 'casesensitivity' property in 'zfs get' help 6689223 spa_create() can leave namespace lock held if property validation fails 6690884 setting zfs_no_write_throttle panics system 6691266 zpool_read_label() needs to use pread64() 6694185 nv_priv_init() doesn't bzero structure completely 6694186 ses_plugin_dlclose is backwards 6697754 ses2 plugin crash when setting invalid property
author eschrock
date Wed, 14 May 2008 15:15:08 -0700
parents 66aef5f20377
children 47572a2f5e73
line wrap: on
line diff
--- a/usr/src/uts/common/fs/zfs/dsl_dataset.c	Wed May 14 11:33:14 2008 -0700
+++ b/usr/src/uts/common/fs/zfs/dsl_dataset.c	Wed May 14 15:15:08 2008 -0700
@@ -1790,6 +1790,8 @@
 	    ds->ds_quota);
 	dsl_prop_nvlist_add_uint64(nv, ZFS_PROP_REFRESERVATION,
 	    ds->ds_reserved);
+	dsl_prop_nvlist_add_uint64(nv, ZFS_PROP_GUID,
+	    ds->ds_phys->ds_guid);
 
 	if (ds->ds_phys->ds_next_snap_obj) {
 		/*