diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2010-06-18 16:31:14 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2010-06-22 14:38:02 +0200 |
| commit | b0ad5a455d7e5352d4c86ba945112011dbeadfb8 (patch) | |
| tree | 8a39d9508ad5b25ddb4d9cec6957625349587958 /hw/virtio-9p-debug.c | |
| parent | f08145fe16470aca09304099888f68cfbc5d1de7 (diff) | |
| download | focaccia-qemu-b0ad5a455d7e5352d4c86ba945112011dbeadfb8.tar.gz focaccia-qemu-b0ad5a455d7e5352d4c86ba945112011dbeadfb8.zip | |
cow: Use bdrv_(p)write_sync for metadata writes
Use bdrv_(p)write_sync to ensure metadata integrity in case of a crash. While at it, correct the wrong usage of errno. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/virtio-9p-debug.c')
0 files changed, 0 insertions, 0 deletions