vvfat: one more missing BlockDriver C99 initializer conversion
authorChristoph Hellwig <hch@lst.de>
Wed, 27 May 2009 14:14:13 +0000 (16:14 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 28 May 2009 07:14:56 +0000 (02:14 -0500)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

block/vvfat.c

index 6c29f48..1e37b9f 100644 (file)
@@ -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)