[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH for-4.1] util/hbitmap: update orig_size on trunc
From: |
Max Reitz |
Subject: |
Re: [Qemu-devel] [PATCH for-4.1] util/hbitmap: update orig_size on truncate |
Date: |
Mon, 5 Aug 2019 17:38:42 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
On 05.08.19 14:01, Vladimir Sementsov-Ogievskiy wrote:
> Without this, hbitmap_next_zero and hbitmap_next_dirty_area are broken
> after truncate. So, orig_size is broken since it's introduction in
> 76d570dc495c56bb.
>
> Fixes: 76d570dc495c56bb
> Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Thanks, applied to my block branch:
https://git.xanclic.moe/XanClic/qemu/commits/branch/block
A unit test as a follow-up would indeed be nice, but I’ll just take it
now anyway.
Max
signature.asc
Description: OpenPGP digital signature