summaryrefslogtreecommitdiffstats
path: root/module/zfs/vdev_root.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs/vdev_root.c')
-rw-r--r--module/zfs/vdev_root.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/zfs/vdev_root.c b/module/zfs/vdev_root.c
index 7170f7013..ce79f7c73 100644
--- a/module/zfs/vdev_root.c
+++ b/module/zfs/vdev_root.c
@@ -98,7 +98,8 @@ vdev_root_open(vdev_t *vd, uint64_t *asize, uint64_t *max_asize,
for (int c = 0; c < vd->vdev_children; c++) {
vdev_t *cvd = vd->vdev_child[c];
- if (cvd->vdev_open_error && !cvd->vdev_islog) {
+ if (cvd->vdev_open_error && !cvd->vdev_islog &&
+ cvd->vdev_ops != &vdev_indirect_ops) {
lasterror = cvd->vdev_open_error;
numerrors++;
}