On Tue, Aug 7, 2012 at 9:30 PM, Blue Swirl <blauwir...@gmail.com> wrote:
> On Tue, Aug 7, 2012 at 1:44 PM, Benoît Canet <benoit.ca...@gmail.com> wrote:
>> +static void quorum_close(BlockDriverState *bs)
>> +{
>> +    BDRVQuorumState *s = bs->opaque;
>> +    int i;
>> +
>> +    /* Ensure writes reach stable storage */
>> +    for (i = 0; i <= 2; i++) {
>> +        bdrv_flush(s->bs[i]);
>
> bdrv_close()

bdrv_delete() instead of close since we did bdrv_new() to allocate them.

We also need to g_free() the filenames.

Reply via email to