commit | 87ace5f8b6cbb9be14cf771a8962e32fd97f9660 | [log] [tgz] |
---|---|---|
author | Max Reitz <mreitz@redhat.com> | Wed May 22 19:03:49 2019 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Tue Jun 18 16:41:10 2019 +0200 |
tree | e2ed93c406853a959d9f2eaf9e011033d908577c | |
parent | a193ad3b3b27eec6914bd3cd7dc4bff02f59177f [diff] |
block: Fix order in bdrv_replace_child() We have to start by applying the permission restrictions to new_bs before we can loosen them on old_bs. See the comment for the explanation. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>