On Tue, 11/15 23:57, Max Reitz wrote: > This series is a follow-up for "hbitmap: Fix shifts of constants by > granularity". > > So far, adding the assertion in hbitmap_serialization_granularity() (as > done by said previous patch) is enough and we know that it will always > hold true since bitmaps are only serialized as part of a test for now. > > However, in the future we need some other way than a failed assertion to > tell the user that they cannot serialize a certain bitmap. This series > adds a function that can be called to tell whether a bitmap can be > (de-)serialized.
Queued, thanks. I'll send a pull request before the holidays. Fam