Commit f9e96436cc4a5136ccf854a064ef8643b0b3da80
Committed by
Anthony Liguori
1 parent
f452095e
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>
Showing
1 changed file
with
3 additions
and
4 deletions
block/vvfat.c
... | ... | @@ -2762,10 +2762,9 @@ static void write_target_close(BlockDriverState *bs) { |
2762 | 2762 | } |
2763 | 2763 | |
2764 | 2764 | static BlockDriver vvfat_write_target = { |
2765 | - "vvfat_write_target", 0, NULL, NULL, NULL, | |
2766 | - write_target_commit, | |
2767 | - write_target_close, | |
2768 | - NULL, NULL, NULL | |
2765 | + .format_name = "vvfat_write_target", | |
2766 | + .bdrv_write = write_target_commit, | |
2767 | + .bdrv_close = write_target_close, | |
2769 | 2768 | }; |
2770 | 2769 | |
2771 | 2770 | static int enable_write_target(BDRVVVFATState *s) | ... | ... |