Blame SOURCES/btrfs-init-dev-list.patch

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