hbitmap: fix missing restore count when finish deserialization
commit3260cdfffbf00f33923f5f9f6bef45932d7ac28b
authorLiang Li <liliangleo@didichuxing.com>
Wed, 7 Feb 2018 16:35:49 +0000 (7 11:35 -0500)
committerJohn Snow <jsnow@redhat.com>
Wed, 7 Feb 2018 16:35:49 +0000 (7 11:35 -0500)
tree139ee6552aea48667799037ea99bdd2cc199f337
parent0833df03f4206a6cf416fbb3d380fa95c8e61fba
hbitmap: fix missing restore count when finish deserialization

The .count of HBitmap is forgot to set in function
hbitmap_deserialize_finish, let's set it to the right value.

Cc: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Cc: Fam Zheng <famz@redhat.com>
Cc: Max Reitz <mreitz@redhat.com>
Cc: John Snow <jsnow@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Weiping Zhang <zhangweiping@didichuxing.com>
Signed-off-by: Liang Li <liliangleo@didichuxing.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 20180118131308.GA2181@liangdeMacBook-Pro.local
Signed-off-by: John Snow <jsnow@redhat.com>
util/hbitmap.c