Peter Xu <[email protected]> writes:

> Cleanup bg_migration_thread() function on error handling.  First of all,
> early_fail is almost only used to say if BQL is taken.  Since we already
> have separate jumping labels, we don't really need it, hence removed.
>
> Also, since local_err is around, making sure every failure path will set a
> proper error string for the failure, then propagate to MigrationState.error.
>
> Signed-off-by: Peter Xu <[email protected]>

Reviewed-by: Fabiano Rosas <[email protected]>

Reply via email to