From f9e96436cc4a5136ccf854a064ef8643b0b3da80 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Wed, 27 May 2009 16:14:13 +0200 Subject: vvfat: one more missing BlockDriver C99 initializer conversion Signed-off-by: Christoph Hellwig Signed-off-by: Anthony Liguori --- block/vvfat.c | 7 +++---- 1 file 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) -- cgit v1.2.3