Page MenuHomeFreeBSD

D8487.diff
No OneTemporary

D8487.diff

Index: head/sys/boot/zfs/zfsimpl.c
===================================================================
--- head/sys/boot/zfs/zfsimpl.c
+++ head/sys/boot/zfs/zfsimpl.c
@@ -1049,8 +1049,10 @@
STAILQ_FOREACH(pool_vdev, &spa->spa_vdevs, v_childlink)
if (top_vdev == pool_vdev)
break;
- if (!pool_vdev && top_vdev)
+ if (!pool_vdev && top_vdev) {
+ top_vdev->spa = spa;
STAILQ_INSERT_TAIL(&spa->spa_vdevs, top_vdev, v_childlink);
+ }
/*
* We should already have created an incomplete vdev for this

File Metadata

Mime Type
text/plain
Expires
Thu, Feb 12, 9:39 AM (9 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28665673
Default Alt Text
D8487.diff (513 B)

Event Timeline