diff options
author | Kevin Wolf <kwolf@redhat.com> | 2011-11-10 17:25:44 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-11-11 14:02:59 +0100 |
commit | c68b89acd636ff545bc7cb92739c41999291ce3c (patch) | |
tree | e0c937bf913260898bd312c0848be866bf5483fd /block/vmdk.c | |
parent | 980bda8ba2322f665934913fbe6c4c202d61a9f9 (diff) | |
download | qemu-c68b89acd636ff545bc7cb92739c41999291ce3c.zip qemu-c68b89acd636ff545bc7cb92739c41999291ce3c.tar.gz qemu-c68b89acd636ff545bc7cb92739c41999291ce3c.tar.bz2 |
block: Rename bdrv_co_flush to bdrv_co_flush_to_disk
There are two different types of flush that you can do: Flushing one level up
to the OS (i.e. writing data to the host page cache) or flushing it all the way
down to the disk. The existing functions flush to the disk, reflect this in the
function name.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/vmdk.c')
-rw-r--r-- | block/vmdk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/block/vmdk.c b/block/vmdk.c index 985006e..e53a2f0 100644 --- a/block/vmdk.c +++ b/block/vmdk.c @@ -1581,8 +1581,8 @@ static BlockDriver bdrv_vmdk = { .bdrv_write = vmdk_co_write, .bdrv_close = vmdk_close, .bdrv_create = vmdk_create, - .bdrv_co_flush = vmdk_co_flush, - .bdrv_is_allocated = vmdk_is_allocated, + .bdrv_co_flush_to_disk = vmdk_co_flush, + .bdrv_is_allocated = vmdk_is_allocated, .bdrv_get_allocated_file_size = vmdk_get_allocated_file_size, .create_options = vmdk_create_options, |