qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] vvfat: one more missing BlockDriver C99 initializer conversion
@ 2009-05-27 14:14 Christoph Hellwig
  0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2009-05-27 14:14 UTC (permalink / raw)
  To: qemu-devel


Signed-off-by: Christoph Hellwig <hch@lst.de>

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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-27 14:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-27 14:14 [Qemu-devel] [PATCH] vvfat: one more missing BlockDriver C99 initializer conversion Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).