Re: [Qemu-block] [PATCH v2 07/18] hbitmap: Fix merge when b is empty, and result is not an alias of a

2019-07-04 Thread Max Reitz
On 03.07.19 23:55, John Snow wrote: > Nobody calls the function like this currently, but we neither prohibit > or cope with this behavior. I decided to make the function cope with it. > > Signed-off-by: John Snow > --- > util/hbitmap.c | 13 ++--- > 1 file changed, 10 insertions(+), 3

[Qemu-block] [PATCH v2 07/18] hbitmap: Fix merge when b is empty, and result is not an alias of a

2019-07-03 Thread John Snow
Nobody calls the function like this currently, but we neither prohibit or cope with this behavior. I decided to make the function cope with it. Signed-off-by: John Snow --- util/hbitmap.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/util/hbitmap.c