From: Kevin Wolf Date: Tue, 15 Mar 2016 13:43:14 +0000 (+0100) Subject: block: Fix qemu_root_bds_opts.head initialisation X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=23f7fcb2956cc094cae008100cb1cb1fe505d00a;p=qemu.git block: Fix qemu_root_bds_opts.head initialisation Signed-off-by: Kevin Wolf Reviewed-by: Max Reitz --- diff --git a/blockdev.c b/blockdev.c index 322ca03908..e7b8676495 100644 --- a/blockdev.c +++ b/blockdev.c @@ -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",