mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
The refcount rebuild check issued a seek to the refcount table and to the first refblock before each cursor read. Read the fixed size fields with read_exact_at at their offsets and decode with from_be_bytes. The seeks and the matching error paths go away. The result is unchanged. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>