diff usr/src/uts/common/fs/zfs/spa.c @ 7538:18c2451107fd

PSARC 2008/469 Excluding snapshot info from 'zfs list' 6734916 zfs list should omit snapshots by default 6734907 zfs list -t all would be useful once snapshots are omitted by default
author Rich Morris <Richard.Morris@Sun.COM>
date Wed, 10 Sep 2008 10:59:12 -0400
parents f6c6be3b6154
children e3f4b4b9f982
line wrap: on
line diff
--- a/usr/src/uts/common/fs/zfs/spa.c	Wed Sep 10 07:38:39 2008 -0700
+++ b/usr/src/uts/common/fs/zfs/spa.c	Wed Sep 10 10:59:12 2008 -0400
@@ -288,6 +288,7 @@
 
 		case ZPOOL_PROP_DELEGATION:
 		case ZPOOL_PROP_AUTOREPLACE:
+		case ZPOOL_PROP_LISTSNAPS:
 			error = nvpair_value_uint64(elem, &intval);
 			if (!error && intval > 1)
 				error = EINVAL;