Revision 34b5d2c6 block/vvfat.c

b/block/vvfat.c
2910 2910
{
2911 2911
    BlockDriver *bdrv_qcow;
2912 2912
    QEMUOptionParameter *options;
2913
    Error *local_err = NULL;
2913 2914
    int ret;
2914 2915
    int size = sector2cluster(s, s->sector_count);
2915 2916
    s->used_clusters = calloc(size, 1);
......
2935 2936
    s->qcow = bdrv_new("");
2936 2937

  
2937 2938
    ret = bdrv_open(s->qcow, s->qcow_filename, NULL,
2938
            BDRV_O_RDWR | BDRV_O_CACHE_WB | BDRV_O_NO_FLUSH, bdrv_qcow);
2939
            BDRV_O_RDWR | BDRV_O_CACHE_WB | BDRV_O_NO_FLUSH, bdrv_qcow,
2940
            &local_err);
2939 2941
    if (ret < 0) {
2942
        qerror_report_err(local_err);
2943
        error_free(local_err);
2940 2944
        bdrv_unref(s->qcow);
2941 2945
        goto err;
2942 2946
    }

Also available in: Unified diff