diff options
author | Max Reitz <mreitz@redhat.com> | 2020-02-18 11:34:46 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2020-02-18 11:55:40 +0100 |
commit | 6e9cc0518113da423252a1fea328f27dc7bcf997 (patch) | |
tree | 5f9615f2bf0ecd1ca1771eb9a8bba3c7bbfd1588 /block/quorum.c | |
parent | 6b4907cf4279e55207fc3fede5686324464ee413 (diff) |
mirror: Double-check immediately before replacing
There is no guarantee that we can still replace the node we want to
replace at the end of the mirror job. Double-check by calling
bdrv_recurse_can_replace().
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20200218103454.296704-12-mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/quorum.c')
0 files changed, 0 insertions, 0 deletions