Skip to contentSkip to conversation

vvfat: one more missing BlockDriver C99 initializer conversion

PATCH New Christoph Hellwig 1 participant 1 message May 27, 2009 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vvfat: one more missing BlockDriver C99 initializer conversion

block/vvfat.c +3 -4
Index: qemu/block/vvfat.c
===================================================================
@@ -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)