Skip to content
  • Max Reitz's avatar
    qcow2-refcount: Repair OFLAG_COPIED errors · e23e400e
    Max Reitz authored
    
    
    Since the OFLAG_COPIED checks are now executed after the refcounts have
    been repaired (if repairing), it is safe to assume that they are correct
    but the OFLAG_COPIED flag may be not. Therefore, if its value differs
    from what it should be (considering the according refcount), that
    discrepancy can be repaired by correctly setting (or clearing that flag.
    
    Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    e23e400e