aboutsummaryrefslogtreecommitdiff
path: root/qobject/qdict.c
diff options
context:
space:
mode:
authorCharlie Shepherd <charlie@ctshepherd.com>2013-11-15 19:47:02 +0100
committerKevin Wolf <kwolf@redhat.com>2013-11-29 13:40:36 +0100
commit091b1108ca6d6e3bfaea5f095f219bf5ea8c316b (patch)
treebad6073c7b68b1bdb66e674e307e14b0984b9ab4 /qobject/qdict.c
parent14b98fdaf3422fef19718033be9eca7e0b776a26 (diff)
COW: Extend checking allocated bits to beyond one sector
cow_co_is_allocated() only checks one sector's worth of allocated bits before returning. This is allowed but (slightly) inefficient, so extend it to check all of the file's metadata sectors. Signed-off-by: Charlie Shepherd <charlie@ctshepherd.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> [kwolf: silenced compiler warning (-Wmaybe-uninitialized for changed)] Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qobject/qdict.c')
0 files changed, 0 insertions, 0 deletions