diff options
| author | Max Reitz | 2020-02-18 11:34:44 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2020-02-18 11:55:40 +0100 |
| commit | 810803a87ce88abd695f07f434d00e7cd1e122e2 (patch) | |
| tree | c1e440556e27331131cfd9a331c415953e90e48c /include/block | |
| parent | quorum: Implement .bdrv_recurse_can_replace() (diff) | |
| download | qemu-810803a87ce88abd695f07f434d00e7cd1e122e2.tar.gz qemu-810803a87ce88abd695f07f434d00e7cd1e122e2.tar.xz qemu-810803a87ce88abd695f07f434d00e7cd1e122e2.zip | |
block: Use bdrv_recurse_can_replace()
Let check_to_replace_node() use the more specialized
bdrv_recurse_can_replace() instead of
bdrv_recurse_is_first_non_filter(), which is too restrictive (or, in the
case of quorum, sometimes not restrictive enough).
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20200218103454.296704-10-mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/block')
0 files changed, 0 insertions, 0 deletions
