]> git.proxmox.com Git - mirror_qemu.git/commit - block/qcow2.c
qcow2: Enable dirty flag in qcow2_alloc_cluster_link_l2
authorKevin Wolf <kwolf@redhat.com>
Fri, 7 Dec 2012 17:08:47 +0000 (18:08 +0100)
committerKevin Wolf <kwolf@redhat.com>
Thu, 13 Dec 2012 14:37:59 +0000 (15:37 +0100)
commit280d373579558f73a8b70e329d9a6206933d3809
tree7cec4982418e7355189da1158cbddc6f71d44eb6
parentf50f88b9fea09fef12cc293126cf45dcf0ef600b
qcow2: Enable dirty flag in qcow2_alloc_cluster_link_l2

This is closer to where the dirty flag is really needed, and it avoids
having checks for special cases related to cluster allocation directly
in the writev loop.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2-cluster.c
block/qcow2.c
block/qcow2.h