On 15.04.19 16:49, Vladimir Sementsov-Ogievskiy wrote:
> Split out cluster_size calculation. Move copy-bitmap creation above
> block-job creation, as we are going to share it with upcoming
> backup-top filter, which also should be created before actual block job
> creation.
> 
> Also, while being here, drop unnecessary "goto error" from
> bdrv_getlength error path.

It isn’t unnecessary, though.  Before this, we invoke
bdrv_dirty_bitmap_create_successor(), so the error path has to clean
that up with bdrv_reclaim_dirty_bitmap().

Max

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to