diff usr/src/uts/common/fs/zfs/spa.c @ 10000:241a51d8720c

6848242 zdb -e no longer works as expected
author Victor Latushkin <Victor.Latushkin@Sun.COM>
date Tue, 30 Jun 2009 04:09:23 -0700
parents 86a051e72232
children 4a6965f6bef8
line wrap: on
line diff
--- a/usr/src/uts/common/fs/zfs/spa.c	Tue Jun 30 15:05:56 2009 +0800
+++ b/usr/src/uts/common/fs/zfs/spa.c	Tue Jun 30 04:09:23 2009 -0700
@@ -2493,6 +2493,8 @@
 	    zpool_prop_to_name(ZPOOL_PROP_ALTROOT), &altroot);
 	spa = spa_add(pool, altroot);
 
+	spa->spa_inactive_states_ok = B_TRUE;
+
 	VERIFY(nvlist_dup(config, &spa->spa_config, 0) == 0);
 
 	if (props != NULL)