diff options
| author | Max Reitz | 2019-05-22 19:03:49 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2019-06-18 16:41:10 +0200 |
| commit | 87ace5f8b6cbb9be14cf771a8962e32fd97f9660 (patch) | |
| tree | e2ed93c406853a959d9f2eaf9e011033d908577c /scripts | |
| parent | block/commit: Drop bdrv_child_try_set_perm() (diff) | |
| download | qemu-87ace5f8b6cbb9be14cf771a8962e32fd97f9660.tar.gz qemu-87ace5f8b6cbb9be14cf771a8962e32fd97f9660.tar.xz qemu-87ace5f8b6cbb9be14cf771a8962e32fd97f9660.zip | |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
