block: Add blk_commit_all()
authorMax Reitz <mreitz@redhat.com>
Wed, 16 Mar 2016 18:54:31 +0000 (19:54 +0100)
committerKevin Wolf <kwolf@redhat.com>
Thu, 17 Mar 2016 14:47:56 +0000 (15:47 +0100)
commit1393f21270d707dfe0af3206b8757887c7b5c1ec
treec214f52f3cf29bffbf299e799d335bc3c1ebde68
parent74d1b8fc27a3dab5743b1fc5ea567640e2acf69b
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 <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/block-backend.c
include/sysemu/block-backend.h