Revision 205ef796 block/raw-posix.c
b/block/raw-posix.c | ||
---|---|---|
734 | 734 |
return result; |
735 | 735 |
} |
736 | 736 |
|
737 |
static void raw_flush(BlockDriverState *bs)
|
|
737 |
static int raw_flush(BlockDriverState *bs)
|
|
738 | 738 |
{ |
739 | 739 |
BDRVRawState *s = bs->opaque; |
740 |
qemu_fdatasync(s->fd); |
|
740 |
return qemu_fdatasync(s->fd);
|
|
741 | 741 |
} |
742 | 742 |
|
743 | 743 |
|
Also available in: Unified diff