qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] vvfat: one more missing BlockDriver C99 initializer


From: Christoph Hellwig
Subject: [Qemu-devel] [PATCH] vvfat: one more missing BlockDriver C99 initializer conversion
Date: Wed, 27 May 2009 16:14:13 +0200
User-agent: Mutt/1.3.28i

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

Index: qemu/block/vvfat.c
===================================================================
--- qemu.orig/block/vvfat.c     2009-05-26 10:42:14.306967330 +0200
+++ qemu/block/vvfat.c  2009-05-26 10:43:14.935816547 +0200
@@ -2762,10 +2762,9 @@ static void write_target_close(BlockDriv
 }
 
 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]