diff options
author | George Wilson <George.Wilson@Sun.COM> | 2009-11-06 01:17:20 -0800 |
---|---|---|
committer | George Wilson <George.Wilson@Sun.COM> | 2009-11-06 01:17:20 -0800 |
commit | 9f4ab4d86482f5367b0c1c55b032b8c6c033f198 (patch) | |
tree | 9914e67d46ab6de04f86843a02675467b9e1c9c7 | |
parent | 1665cdc01a4688d6e3b3e53c978addcc83af0989 (diff) | |
download | illumos-gate-9f4ab4d86482f5367b0c1c55b032b8c6c033f198.tar.gz |
6898790 assertion failed: alloctype == VDEV_ALLOC_LOAD||alloctype == VDEV_ALLOC_ADD
-rw-r--r-- | usr/src/uts/common/fs/zfs/vdev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/uts/common/fs/zfs/vdev.c b/usr/src/uts/common/fs/zfs/vdev.c index c4f8dfbaa6..a122b498e8 100644 --- a/usr/src/uts/common/fs/zfs/vdev.c +++ b/usr/src/uts/common/fs/zfs/vdev.c @@ -493,7 +493,8 @@ vdev_alloc(spa_t *spa, vdev_t **vdp, nvlist_t *nv, vdev_t *parent, uint_t id, if (parent && !parent->vdev_parent) { ASSERT(alloctype == VDEV_ALLOC_LOAD || - alloctype == VDEV_ALLOC_ADD); + alloctype == VDEV_ALLOC_ADD || + alloctype == VDEV_ALLOC_ROOTPOOL); vd->vdev_mg = metaslab_group_create(islog ? spa_log_class(spa) : spa_normal_class(spa), vd); } |