]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix an assert to tolerate spare parents with more than 2 children.
authorwill <will@FreeBSD.org>
Thu, 18 Sep 2014 14:02:25 +0000 (14:02 +0000)
committerwill <will@FreeBSD.org>
Thu, 18 Sep 2014 14:02:25 +0000 (14:02 +0000)
commit0d43f1eace874851639945f51d8e2d44ba4d4ba3
tree35000a941dd1314bf269de56f7390a0d08b5c887
parentb79dbe705a8ae358c689a56563ac3d3dde3a9374
Fix an assert to tolerate spare parents with more than 2 children.

This can occur if a spare is being spared, which would yield three
children: the original pool drive, the previous spare, and the spare
that is replacing it.

MFC after: 1 week
Sponsored by: Spectra Logic
Affects: All ZFS versions starting 7 Jun 2006 (illumos 94de1d4c)
MFSpectraBSD: r668345 on 2013/06/04 17:10:43
cddl/contrib/opensolaris/cmd/zpool/zpool_vdev.c