vvfat.c (88bf79500b7659aa7978b445393479d76e9c0c9e) vvfat.c (66f82ceed6781261c09e65fb440ca76842fd0500)
1/* vim:set shiftwidth=4 ts=8: */
2/*
3 * QEMU Block driver for virtual VFAT (shadows a local directory)
4 *
5 * Copyright (c) 2004,2005 Johannes E. Schindelin
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining a copy
8 * of this software and associated documentation files (the "Software"), to deal

--- 2813 unchanged lines hidden (view full) ---

2822 array_free(&(s->mapping));
2823 if(s->cluster_buffer)
2824 free(s->cluster_buffer);
2825}
2826
2827static BlockDriver bdrv_vvfat = {
2828 .format_name = "vvfat",
2829 .instance_size = sizeof(BDRVVVFATState),
1/* vim:set shiftwidth=4 ts=8: */
2/*
3 * QEMU Block driver for virtual VFAT (shadows a local directory)
4 *
5 * Copyright (c) 2004,2005 Johannes E. Schindelin
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining a copy
8 * of this software and associated documentation files (the "Software"), to deal

--- 2813 unchanged lines hidden (view full) ---

2822 array_free(&(s->mapping));
2823 if(s->cluster_buffer)
2824 free(s->cluster_buffer);
2825}
2826
2827static BlockDriver bdrv_vvfat = {
2828 .format_name = "vvfat",
2829 .instance_size = sizeof(BDRVVVFATState),
2830 .bdrv_open = vvfat_open,
2830 .bdrv_file_open = vvfat_open,
2831 .bdrv_read = vvfat_read,
2832 .bdrv_write = vvfat_write,
2833 .bdrv_close = vvfat_close,
2834 .bdrv_is_allocated = vvfat_is_allocated,
2835 .protocol_name = "fat",
2836};
2837
2838static void bdrv_vvfat_init(void)

--- 34 unchanged lines hidden ---
2831 .bdrv_read = vvfat_read,
2832 .bdrv_write = vvfat_write,
2833 .bdrv_close = vvfat_close,
2834 .bdrv_is_allocated = vvfat_is_allocated,
2835 .protocol_name = "fat",
2836};
2837
2838static void bdrv_vvfat_init(void)

--- 34 unchanged lines hidden ---