summaryrefslogtreecommitdiffstats
path: root/module/zfs/vdev.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-01-13 16:06:26 -0800
committerBrian Behlendorf <[email protected]>2009-01-13 16:06:26 -0800
commitc186f81c6d426f30c2e1f85545d8e5a663aa3bca (patch)
tree9ff6dc3526356fb017316cbed1c925b2ee90bda9 /module/zfs/vdev.c
parent0d6b81fcca82d41141e1b47f0b6940896e3c7ef2 (diff)
parentfe0f26150ad5367f63a357cb26428ec095bbaaea (diff)
Merge branch 'fix-branch' into refs/top-bases/zfs-branch
Diffstat (limited to 'module/zfs/vdev.c')
-rw-r--r--module/zfs/vdev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/zfs/vdev.c b/module/zfs/vdev.c
index 240ccf269..e7db441f8 100644
--- a/module/zfs/vdev.c
+++ b/module/zfs/vdev.c
@@ -313,6 +313,8 @@ vdev_alloc_common(spa_t *spa, uint_t id, uint64_t guid, vdev_ops_t *ops)
vd->vdev_ops = ops;
vd->vdev_state = VDEV_STATE_CLOSED;
+ list_link_init(&vd->vdev_config_dirty_node);
+ list_link_init(&vd->vdev_state_dirty_node);
mutex_init(&vd->vdev_dtl_lock, NULL, MUTEX_DEFAULT, NULL);
mutex_init(&vd->vdev_stat_lock, NULL, MUTEX_DEFAULT, NULL);
mutex_init(&vd->vdev_probe_lock, NULL, MUTEX_DEFAULT, NULL);