[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] hbitmap: fix hbitmap_status() return value for first dirty b
From: |
Kevin Wolf |
Subject: |
Re: [PATCH] hbitmap: fix hbitmap_status() return value for first dirty bit case |
Date: |
Thu, 16 Feb 2023 12:01:02 +0100 |
Am 02.02.2023 um 19:15 hat Andrey Zhadchenko via geschrieben:
> The last return statement should return true, as we already evaluated that
> start == next_dirty
>
> Also, fix hbitmap_status() description in header
>
> Cc: qemu-stable@nongnu.org
> Fixes: a6426475a75 ("block/dirty-bitmap: introduce
> bdrv_dirty_bitmap_status()")
> Signed-off-by: Andrey Zhadchenko <andrey.zhadchenko@virtuozzo.com>
Thanks, applied to the block branch.
Kevin