summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/253.out
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy2019-08-24 12:07:40 +0200
committerMax Reitz2019-09-03 14:55:35 +0200
commitb503de619ed462cd433187db60719f98fab470c2 (patch)
tree1e3e3d77ef3f25eb29372f85396cf2f66d6bb8ff /tests/qemu-iotests/253.out
parentqemu-io: add pattern file for write command (diff)
downloadqemu-b503de619ed462cd433187db60719f98fab470c2.tar.gz
qemu-b503de619ed462cd433187db60719f98fab470c2.tar.xz
qemu-b503de619ed462cd433187db60719f98fab470c2.zip
block: fix permission update in bdrv_replace_node
It's wrong to OR shared permissions. It may lead to crash on further permission updates. Also, no needs to consider previously calculated permissions, as at this point we already bind all new parents and bdrv_get_cumulative_perm result is enough. So fix the bug by just set permissions by bdrv_get_cumulative_perm result. Bug was introduced in long ago 234ac1a9025, in 2.9. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-id: 20190824100740.61635-1-vsementsov@virtuozzo.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/253.out')
0 files changed, 0 insertions, 0 deletions