diff options
author | Max Reitz <mreitz@redhat.com> | 2019-07-03 19:28:04 +0200 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2019-07-15 15:48:40 +0200 |
commit | 8441d82d51e25c6a7d1ca92cecc42168f20af72a (patch) | |
tree | de6b24f8f2d93df7482ae6cf1c081af65f387279 /block.c | |
parent | 17a7c39248fc629469d6f66c6122db841b736bc7 (diff) |
block/stream: Swap backing file change order
bdrv_change_backing_file() can result in yields. Therefore, @base may
no longer be the the backing_bs() of s->bottom afterwards.
Just swap the order of the two calls to fix this.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 20190703172813.6868-4-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block.c')
0 files changed, 0 insertions, 0 deletions