Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2013 12:02:10 +0000 (UTC)
From:      Steven Hartland <smh@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r252056 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Message-ID:  <201306211202.r5LC2ASW064435@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: smh
Date: Fri Jun 21 12:02:09 2013
New Revision: 252056
URL: http://svnweb.freebsd.org/changeset/base/252056

Log:
  Fixed import of destroyed ZFS pools failing due to vdev_geom incorrectly
  preventing config loads from devices associated with destroyed pools.
  
  Reviewed by:	avg
  MFC after:	1 week

Modified:
  head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c

Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c
==============================================================================
--- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c	Fri Jun 21 06:36:26 2013	(r252055)
+++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c	Fri Jun 21 12:02:09 2013	(r252056)
@@ -270,8 +270,7 @@ vdev_geom_read_config(struct g_consumer 
 			continue;
 
 		if (nvlist_lookup_uint64(*config, ZPOOL_CONFIG_POOL_STATE,
-		    &state) != 0 || state == POOL_STATE_DESTROYED ||
-		    state > POOL_STATE_L2CACHE) {
+		    &state) != 0 || state > POOL_STATE_L2CACHE) {
 			nvlist_free(*config);
 			*config = NULL;
 			continue;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306211202.r5LC2ASW064435>