commit | 2a3d4331fa2d40708188b8000f98ff1f7dcd33bc | [log] [tgz] |
---|---|---|
author | Alberto Garcia <berto@igalia.com> | Mon Nov 12 16:00:48 2018 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu Nov 22 16:43:52 2018 +0100 |
tree | c08d025f93ad66e5d267b6a5954d639c580a36ab | |
parent | 1c7f618f689b0b5b6bbed23a7c159e7dad7b996f [diff] |
block: Fix update of BDRV_O_AUTO_RDONLY in update_flags_from_options() Commit e35bdc123a4ace9f4d3fcca added the auto-read-only option and the code to update its corresponding flag in update_flags_from_options(), but forgot to clear the flag if auto-read-only is false. Signed-off-by: Alberto Garcia <berto@igalia.com> Reported-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>