]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit - cddl/contrib/opensolaris/cmd/zpool/zpool_vdev.c
MFC r271227: MFV r271225:
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 25 Sep 2014 21:45:07 +0000 (21:45 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 25 Sep 2014 21:45:07 +0000 (21:45 +0000)
commitad171d2580c56ad7b357abfdd3af70b5f3fcfa11
treef5c76526406ada28b5aa84c2fee27b7e5d5732c8
parent5219466f5f58318ad184b7da0f8ade7c2a3e0f61
MFC r271227: MFV r271225:

Iterate through all the children instead of returning error when we hit
the first error.  This makes the error message give more information
rather than just the first device that causes problem.

Illumos issue:
    5118 When verifying or creating a storage pool, error messages only
       show one device

Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/stable/10@272136 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
cddl/contrib/opensolaris/cmd/zpool/zpool_vdev.c