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