]> git.proxmox.com Git - mirror_qemu.git/commit
block: Assertions for write permissions
authorKevin Wolf <kwolf@redhat.com>
Thu, 9 Feb 2017 15:49:53 +0000 (16:49 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 28 Feb 2017 19:47:50 +0000 (20:47 +0100)
commitafa4b293230c0bad3dfbfa9c0ff3f7bdfab40430
tree8ce9f74142ecd9146a3a38decb61afb758628db7
parent85c97ca7a10b93216bc95052e9dabe3a4bb8736a
block: Assertions for write permissions

This adds assertions that ensure that the necessary write permissions
have been granted before someone attempts to write to a node.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
block/io.c