Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/jnsnow/tags/bitmaps-pull-reques…
Browse files Browse the repository at this point in the history
…t' into staging

# gpg: Signature made Wed 07 Feb 2018 17:00:12 GMT
# gpg:                using RSA key 7DEF8106AAFC390E
# gpg: Good signature from "John Snow (John Huston) <jsnow@redhat.com>"
# Primary key fingerprint: FAEB 9711 A12C F475 812F  18F2 88A9 064D 1835 61EB
#      Subkey fingerprint: F9B7 ABDB BCAC DF95 BE76  CBD0 7DEF 8106 AAFC 390E

* remotes/jnsnow/tags/bitmaps-pull-request:
  hbitmap: fix missing restore count when finish deserialization

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
  • Loading branch information
pm215 committed Feb 8, 2018
2 parents 1e5caa0 + 3260cdf commit b256b89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions util/hbitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,7 @@ void hbitmap_deserialize_finish(HBitmap *bitmap)
}

bitmap->levels[0][0] |= 1UL << (BITS_PER_LONG - 1);
bitmap->count = hb_count_between(bitmap, 0, bitmap->size - 1);
}

void hbitmap_free(HBitmap *hb)
Expand Down

0 comments on commit b256b89

Please sign in to comment.