]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix an assert to tolerate spare parents with more than 2 children.
authorWill Andrews <will@FreeBSD.org>
Thu, 18 Sep 2014 14:02:25 +0000 (14:02 +0000)
committerWill Andrews <will@FreeBSD.org>
Thu, 18 Sep 2014 14:02:25 +0000 (14:02 +0000)
commitabf6a03921cb02d3e2d583b4564f6af15789ec83
tree35000a941dd1314bf269de56f7390a0d08b5c887
parent3bcd280e3b3cb0dd1b656a75ef3d76973f7e9b7c
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