alloc_cluster_link_l2: Write complete sectors
authorKevin Wolf <kwolf@redhat.com>
Tue, 16 Jun 2009 09:31:29 +0000 (11:31 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 16 Jun 2009 20:18:36 +0000 (15:18 -0500)
commitb71b1833620ebc7dfc6bbee727824790136d8b2f
treed460956900a00a0a931807628f1c72650283ab30
parent5f0e5add9d92696128d01f7d43f953f9541b8235
alloc_cluster_link_l2: Write complete sectors

When updating the L2 tables in alloc_cluster_link_l2(), write complete
sectors instead of updating single entries.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
block/qcow2-cluster.c