]> git.proxmox.com Git - mirror_qemu.git/commit
block: Don't check permissions for copy on read
authorKevin Wolf <kwolf@redhat.com>
Fri, 7 Apr 2017 10:29:05 +0000 (12:29 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 7 Apr 2017 12:44:06 +0000 (14:44 +0200)
commit1bf03e66fd03af46ff0f98dd04b6e28f432ac1e3
treeecf68ddad2419e4259586f79b8a28c2b3a341c69
parent89aa0465b9135d70682420918b28b6e38a0f6322
block: Don't check permissions for copy on read

The assertion is currently failing. We can't require callers to have
write permissions when all they are doing is a read, so comment it out.
Add a FIXME comment in the code so that the check is re-enabled when
copy on read is refactored into its own filter driver.

Reported-by: Richard W.M. Jones <rjones@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
block/io.c