svn commit: r325150 - stable/10/cddl/contrib/opensolaris/lib/libzfs/common

Andriy Gapon avg at FreeBSD.org
Mon Oct 30 10:33:06 UTC 2017


Author: avg
Date: Mon Oct 30 10:33:05 2017
New Revision: 325150
URL: https://svnweb.freebsd.org/changeset/base/325150

Log:
  MFC r324347: MFV r316933: 5142 libzfs support raidz root pool (loader project)
  
  FreeBSD note: we have long supported this feature, this commit only
  removes a small difference in libzfs.

Modified:
  stable/10/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c
==============================================================================
--- stable/10/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c	Mon Oct 30 10:32:36 2017	(r325149)
+++ stable/10/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c	Mon Oct 30 10:33:05 2017	(r325150)
@@ -2272,6 +2272,7 @@ vdev_get_physpaths(nvlist_t *nv, char *physpath, size_
 				return (ret);
 		}
 	} else if (strcmp(type, VDEV_TYPE_MIRROR) == 0 ||
+	    strcmp(type, VDEV_TYPE_RAIDZ) == 0 ||
 	    strcmp(type, VDEV_TYPE_REPLACING) == 0 ||
 	    (is_spare = (strcmp(type, VDEV_TYPE_SPARE) == 0))) {
 		nvlist_t **child;


More information about the svn-src-stable mailing list