A v3 version of the patch. - Added a forward declaration for update_ext_header_and_dir so the function doesn't need to be moved anymore. - Style fix of comment - Keep s->nb_bitmaps in a variable in order to have correct corruption fixed count - Remove obsolete if in bitmap_list_free
Thanks Jean-Louis Jean-Louis Dupond (1): qcow2: add functionality to repair bitmaps block/qcow2-bitmap.c | 43 +++++++++++++++++++++++++++++++++++++++++- block/qcow2-refcount.c | 3 ++- block/qcow2.c | 16 ++++++++++++---- block/qcow2.h | 3 ++- 4 files changed, 58 insertions(+), 7 deletions(-) -- 2.54.0
