Andrey Zhadchenko a4d5224c2c hbitmap: fix hbitmap_status() return value for first dirty bit case
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>
Message-Id: <20230202181523.423131-1-andrey.zhadchenko@virtuozzo.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2023-02-17 14:34:24 +01:00
..
2020-01-06 18:41:32 +04:00
2022-12-20 17:09:41 -08:00
2022-04-21 17:03:51 +04:00
2019-09-11 08:46:17 +02:00
2020-12-10 17:16:44 +01:00
2023-02-08 07:28:05 +01:00
2022-06-29 10:56:12 +03:00
2018-12-20 10:29:08 +01:00
2023-02-02 11:48:20 +00:00
2022-03-04 18:14:40 +01:00
2018-08-24 20:26:37 +02:00
2021-04-01 15:27:44 +04:00