From: Kevin Wolf Date: Tue, 15 Mar 2016 13:43:14 +0000 (+0100) Subject: block: Fix qemu_root_bds_opts.head initialisation X-Git-Tag: v2.6.0-rc0~23^2~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=23f7fcb2956cc094cae008100cb1cb1fe505d00a;p=thirdparty%2Fqemu.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 322ca03908f..e7b8676495b 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",