qcow: Use bdrv_(p)write_sync for metadata writes
commit5e5557d97026d1d3325e0e7b0ba593366da2f3dc
authorKevin Wolf <kwolf@redhat.com>
Fri, 18 Jun 2010 14:11:53 +0000 (18 16:11 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 22 Jun 2010 12:38:02 +0000 (22 14:38 +0200)
tree76ba21faf806e1873155193eef4e491a63377f9c
parentb0ad5a455d7e5352d4c86ba945112011dbeadfb8
qcow: Use bdrv_(p)write_sync for metadata writes

Use bdrv_(p)write_sync to ensure metadata integrity in case of a crash.

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