vvfat.c (53e11bd384a799c03884bd7d8b5be53f025f8e2d) vvfat.c (98522f63f40adaebc412481e1d2e9170160d4539)
1/* vim:set shiftwidth=4 ts=4: */
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

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

2942 error_free(local_err);
2943 goto err;
2944 }
2945
2946#ifndef _WIN32
2947 unlink(s->qcow_filename);
2948#endif
2949
1/* vim:set shiftwidth=4 ts=4: */
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

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

2942 error_free(local_err);
2943 goto err;
2944 }
2945
2946#ifndef _WIN32
2947 unlink(s->qcow_filename);
2948#endif
2949
2950 s->bs->backing_hd = bdrv_new("");
2950 s->bs->backing_hd = bdrv_new("", &error_abort);
2951 s->bs->backing_hd->drv = &vvfat_write_target;
2952 s->bs->backing_hd->opaque = g_malloc(sizeof(void*));
2953 *(void**)s->bs->backing_hd->opaque = s;
2954
2955 return 0;
2956
2957err:
2958 g_free(s->qcow_filename);

--- 64 unchanged lines hidden ---
2951 s->bs->backing_hd->drv = &vvfat_write_target;
2952 s->bs->backing_hd->opaque = g_malloc(sizeof(void*));
2953 *(void**)s->bs->backing_hd->opaque = s;
2954
2955 return 0;
2956
2957err:
2958 g_free(s->qcow_filename);

--- 64 unchanged lines hidden ---