diff options
author | Kevin Wolf <kwolf@redhat.com> | 2017-07-03 17:07:35 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2017-09-26 14:46:23 +0200 |
commit | 3045025991ebeec77ce89c8ec56e83858950bbb3 (patch) | |
tree | c5f59bfa82fa3263874f84a1fd9668770b41bd74 /ui/vnc-jobs.c | |
parent | 1857c97b76af02537b954c86dab066503950a4fd (diff) | |
download | qemu-3045025991ebeec77ce89c8ec56e83858950bbb3.zip qemu-3045025991ebeec77ce89c8ec56e83858950bbb3.tar.gz qemu-3045025991ebeec77ce89c8ec56e83858950bbb3.tar.bz2 |
block: Fix permissions after bdrv_reopen()
If we switch between read-only and read-write, the permissions that
image format drivers need on bs->file change, too. Make sure to update
the permissions during bdrv_reopen().
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'ui/vnc-jobs.c')
0 files changed, 0 insertions, 0 deletions