update_refcount: Write complete sectors
commit9923e05e1adbba54b1a646ae39f8aa8fc88d78a6
authorKevin Wolf <kwolf@redhat.com>
Tue, 16 Jun 2009 09:31:30 +0000 (16 11:31 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 16 Jun 2009 20:18:37 +0000 (16 15:18 -0500)
tree4378680f843a3e6b08ce464b30b84769e022dc77
parent4c1612d95412bcc487e0c734ad5b738105b67b19
update_refcount: Write complete sectors

When updating the refcount blocks in update_refcount(), 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-refcount.c