aboutsummaryrefslogtreecommitdiff
path: root/tests/test-bitops.c
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2015-06-10 13:24:54 -0400
committerKevin Wolf <kwolf@redhat.com>2015-06-12 15:54:01 +0200
commit06207b0ff596aa4bb192d1fafc593847ed888e39 (patch)
treea40caaf49f583b6a594d0cfd6d3108c17b4cfd3a /tests/test-bitops.c
parent5270b6a0d0cf41e49d634007ace40f5dfc381940 (diff)
block: Change bitmap truncate conditional to assertion
This is an artifact of an older version that had both all-bitmap and single-bitmap truncate functions, and some info got lost in the shuffle. Bitmaps can only be frozen during a backup operation, and a backup operation should prevent a resize operation, so just assert that this cannot happen. Suggested-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/test-bitops.c')
0 files changed, 0 insertions, 0 deletions