diff options
author | Max Reitz <mreitz@redhat.com> | 2016-03-16 19:54:32 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-03-17 15:47:56 +0100 |
commit | da31d594cf971795c1150ef1f5bdb01790b1b1b9 (patch) | |
tree | 1be81f733d4b240e8bae563cf18307054bcfad1c /blockdev.c | |
parent | 1393f21270d707dfe0af3206b8757887c7b5c1ec (diff) | |
download | qemu-da31d594cf971795c1150ef1f5bdb01790b1b1b9.zip |
block: Use blk_{commit,flush}_all() consistently
Replace bdrv_commmit_all() and bdrv_flush_all() by their BlockBackend
equivalents.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'blockdev.c')
-rw-r--r-- | blockdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blockdev.c b/blockdev.c index 50410bf328..5be7d4bbd0 100644 --- a/blockdev.c +++ b/blockdev.c @@ -1173,7 +1173,7 @@ void hmp_commit(Monitor *mon, const QDict *qdict) int ret; if (!strcmp(device, "all")) { - ret = bdrv_commit_all(); + ret = blk_commit_all(); } else { BlockDriverState *bs; AioContext *aio_context; |