]> git.proxmox.com Git - mirror_qemu.git/commit - block/qcow2-cache.c
qcow2: Use negated overflow check mask
authorMax Reitz <mreitz@redhat.com>
Thu, 10 Oct 2013 09:09:23 +0000 (11:09 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 11 Oct 2013 14:50:00 +0000 (16:50 +0200)
commit231bb267644ee3a9ebfd9c7f42d5d41610194b45
tree5778398902494b84ce570a4901c9893cf36ed664
parent8f94a6e40e46cbc8e8014da825d25824b1803b34
qcow2: Use negated overflow check mask

In qcow2_check_metadata_overlap and qcow2_pre_write_overlap_check,
change the parameter signifying the checks to perform from its current
positive form to a negative one, i.e., it will no longer explicitly
specify every check to perform but rather a mask of checks not to
perform.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2-cache.c
block/qcow2-cluster.c
block/qcow2-refcount.c
block/qcow2-snapshot.c
block/qcow2.c
block/qcow2.h