3f2d22
diff --git a/utils.c b/utils.c
3f2d22
index a5ffb62..f6686c6 100644
3f2d22
--- a/utils.c
3f2d22
+++ b/utils.c
3f2d22
@@ -502,6 +502,7 @@ int btrfs_add_to_fsid(struct btrfs_trans_handle *trans,
3f2d22
 	device->bytes_used = 0;
3f2d22
 	device->total_ios = 0;
3f2d22
 	device->dev_root = root->fs_info->dev_root;
3f2d22
+	INIT_LIST_HEAD(&device->dev_list);
3f2d22
 
3f2d22
 	ret = btrfs_add_device(trans, root, device);
3f2d22
 	BUG_ON(ret);