block: Add Error argument to bdrv_attach_child()
commit8b2ff5291f9e39fb1c0c6c0c4321daac60aab4db
authorKevin Wolf <kwolf@redhat.com>
Tue, 20 Dec 2016 21:21:17 +0000 (20 22:21 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 28 Feb 2017 19:40:35 +0000 (28 20:40 +0100)
tree8c114097b7f06275d87594f120cd517e2724ee4b
parent7006c9a76119a863e5812de572841618b9540ac2
block: Add Error argument to bdrv_attach_child()

It will have to return an error soon, so prepare the callers for it.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Acked-by: Fam Zheng <famz@redhat.com>
block.c
block/quorum.c
include/block/block.h