aboutsummaryrefslogtreecommitdiff
path: root/block/io.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2018-04-21 15:29:22 +0200
committerMax Reitz <mreitz@redhat.com>2018-05-15 16:15:21 +0200
commit24b7c538fea86b598e2a335f4805a0ab50a30e98 (patch)
tree32423583edb4c1cb1a8b92099009252809f4455e /block/io.c
parent6c6f24fd84895d03baa898bbc4324dd4ccc97071 (diff)
downloadqemu-24b7c538fea86b598e2a335f4805a0ab50a30e98.zip
qemu-24b7c538fea86b598e2a335f4805a0ab50a30e98.tar.gz
qemu-24b7c538fea86b598e2a335f4805a0ab50a30e98.tar.bz2
block: BLK_PERM_WRITE includes ..._UNCHANGED
Currently we never actually check whether the WRITE_UNCHANGED permission has been taken for unchanging writes. But the one check that is commented out checks both WRITE and WRITE_UNCHANGED; and considering that WRITE_UNCHANGED is already documented as being weaker than WRITE, we should probably explicitly document WRITE to include WRITE_UNCHANGED. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Alberto Garcia <berto@igalia.com> Message-id: 20180421132929.21610-3-mreitz@redhat.com Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block/io.c')
0 files changed, 0 insertions, 0 deletions