summaryrefslogtreecommitdiff
path: root/bitops.h
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2012-03-27 13:09:22 +0200
committerKevin Wolf <kwolf@redhat.com>2012-04-20 15:57:28 +0200
commitc7a4c37a0f768f7ad50f64414d578436019e1e96 (patch)
tree01150a854eab361135a3db2aa78cfb318cedecb9 /bitops.h
parent8e37f681d58bbe166c20559e77fd55b1cb8e6e4b (diff)
downloadqemu-c7a4c37a0f768f7ad50f64414d578436019e1e96.tar.gz
qcow2: Refactor qcow2_free_any_clusters
Zero clusters will add another cluster type. Refactor the open-coded cluster type detection into a switch of QCOW2_CLUSTER_* options so that the detection is in a single place. This makes it easier to add new cluster types. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'bitops.h')
0 files changed, 0 insertions, 0 deletions