qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT f9e9643] vvfat: one more missing BlockDriver C99


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT f9e9643] vvfat: one more missing BlockDriver C99 initializerconversion
Date: Mon, 08 Jun 2009 13:03:13 -0000

From: Christoph Hellwig <address@hidden>

Signed-off-by: Christoph Hellwig <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>

diff --git a/block/vvfat.c b/block/vvfat.c
index 6c29f48..1e37b9f 100644
--- a/block/vvfat.c
+++ b/block/vvfat.c
@@ -2762,10 +2762,9 @@ static void write_target_close(BlockDriverState *bs) {
 }
 
 static BlockDriver vvfat_write_target = {
-    "vvfat_write_target", 0, NULL, NULL, NULL,
-    write_target_commit,
-    write_target_close,
-    NULL, NULL, NULL
+    .format_name        = "vvfat_write_target",
+    .bdrv_write         = write_target_commit,
+    .bdrv_close         = write_target_close,
 };
 
 static int enable_write_target(BDRVVVFATState *s)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]