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
..
2023-01-06 00:50:32 +01:00
2023-02-10 14:12:06 +01:00
2022-03-04 08:50:41 -10:00
2022-07-13 16:58:57 +02:00
2020-12-10 12:15:18 -05:00
2023-02-10 14:12:06 +01:00
2016-06-07 18:19:23 +03:00
2017-10-16 20:57:13 +03:00
2020-10-15 16:06:27 +02:00
2022-12-20 17:09:41 -08:00
2022-10-07 12:11:41 +02:00
2022-04-20 10:51:11 -07:00
2019-09-11 08:46:17 +02:00
2020-12-10 17:16:44 +01:00
2022-04-21 17:03:51 +04:00
2018-09-26 08:55:54 -07:00
2019-04-18 22:18:59 +02:00
2023-02-10 14:12:06 +01:00
2016-02-23 12:43:05 +00:00
2018-08-24 20:26:37 +02:00
2023-02-10 14:12:06 +01:00
2023-02-08 07:27:20 +01:00
2021-04-01 15:27:44 +04:00