summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorChristoph Hellwig2009-05-27 16:14:13 +0200
committerAnthony Liguori2009-05-28 09:14:56 +0200
commitf9e96436cc4a5136ccf854a064ef8643b0b3da80 (patch)
treeac26e74ca25b3be8db3d4626eaabfa78236dc617 /block
parentMove keymaps into pc-bios (diff)
downloadqemu-f9e96436cc4a5136ccf854a064ef8643b0b3da80.tar.gz
qemu-f9e96436cc4a5136ccf854a064ef8643b0b3da80.tar.xz
qemu-f9e96436cc4a5136ccf854a064ef8643b0b3da80.zip
vvfat: one more missing BlockDriver C99 initializer conversion
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'block')
-rw-r--r--block/vvfat.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/block/vvfat.c b/block/vvfat.c
index 6c29f489aa..1e37b9f9f8 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)