From 1393f21270d707dfe0af3206b8757887c7b5c1ec Mon Sep 17 00:00:00 2001 From: Max Reitz Date: Wed, 16 Mar 2016 19:54:31 +0100 Subject: block: Add blk_commit_all() Later, we will remove bdrv_commit_all() and move its contents here, and in order to replace bdrv_commit_all() calls by calls to blk_commit_all() before doing so, we need to add it as an alias now. Signed-off-by: Max Reitz Reviewed-by: Kevin Wolf Signed-off-by: Kevin Wolf --- block/block-backend.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'block') diff --git a/block/block-backend.c b/block/block-backend.c index 7a04e10..e75b8fe 100644 --- a/block/block-backend.c +++ b/block/block-backend.c @@ -1329,3 +1329,8 @@ BlockBackendRootState *blk_get_root_state(BlockBackend *blk) { return &blk->root_state; } + +int blk_commit_all(void) +{ + return bdrv_commit_all(); +} -- cgit v1.1