qcow2: Add more overlap check bitmask macros
commit4a273c398b0c96985d56fed8156e19876b2e3c9e
authorMax Reitz <mreitz@redhat.com>
Thu, 10 Oct 2013 09:09:27 +0000 (10 11:09 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 11 Oct 2013 14:50:00 +0000 (11 16:50 +0200)
tree774294e8d2e1f7afb49d364c32c0d2c041d88825
parent4092e99d935fe26fd53631cc9e170f9a19e3ee4a
qcow2: Add more overlap check bitmask macros

Introduces the macros QCOW2_OL_CONSTANT and QCOW2_OL_ALL in addition to
the already existing QCOW2_OL_CACHED, signifying all metadata overlap
checks that can be performed in constant time (regardless of image size
etc.) and truly all available overlap checks, respectively.

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