Skip to contentSkip to conversation

block: Fix qemu_root_bds_opts.head initialisation

PATCH In review Kevin Wolf 2 participants 2 messages Mar 15, 2016 – Mar 16, 2016

lore
Share & tools
lore

Kevin Wolf

author
#0 lore raw

PATCH 1/1 block: Fix qemu_root_bds_opts.head initialisation

---
 blockdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
blockdev.c +1 -1
index 322ca03..e7b8676 100644
@@ -4221,7 +4221,7 @@ QemuOptsList qemu_common_drive_opts = {
 
 static QemuOptsList qemu_root_bds_opts = {
     .name = "root-bds",
-    .head = QTAILQ_HEAD_INITIALIZER(qemu_common_drive_opts.head),
+    .head = QTAILQ_HEAD_INITIALIZER(qemu_root_bds_opts.head),
     .desc = {
         {
             .name = "discard",
Signature · 1 line
1.8.3.1