diff options
| author | Kevin Wolf | 2018-10-09 16:57:12 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2018-11-05 15:09:55 +0100 |
| commit | eeae6a596b0efc092f5101c67683053e245e6250 (patch) | |
| tree | aac0249cb431b4924304c646ffd11b738d044f9b /include | |
| parent | iotest: Test x-blockdev-change on a Quorum (diff) | |
| download | qemu-eeae6a596b0efc092f5101c67683053e245e6250.tar.gz qemu-eeae6a596b0efc092f5101c67683053e245e6250.tar.xz qemu-eeae6a596b0efc092f5101c67683053e245e6250.zip | |
block: Update flags in bdrv_set_read_only()
To fully change the read-only state of a node, we must not only change
bs->read_only, but also update bs->open_flags.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
