commit | 3045025991ebeec77ce89c8ec56e83858950bbb3 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Mon Jul 03 17:07:35 2017 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Tue Sep 26 14:46:23 2017 +0200 |
tree | c5f59bfa82fa3263874f84a1fd9668770b41bd74 | |
parent | 1857c97b76af02537b954c86dab066503950a4fd [diff] |
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>