aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2015-06-15 11:53:47 +0200
committerKevin Wolf <kwolf@redhat.com>2015-07-14 15:55:19 +0200
commitdf5817926790f6e84d1936eab523556f96fa577a (patch)
tree2b0b229b756ee7314a2d9217446599ee1612acf0 /include
parent30349fd038ffb26528fad21abe1e264031364449 (diff)
downloadqemu-df5817926790f6e84d1936eab523556f96fa577a.zip
qemu-df5817926790f6e84d1936eab523556f96fa577a.tar.gz
qemu-df5817926790f6e84d1936eab523556f96fa577a.tar.bz2
block: Move bdrv_attach_child() calls up the call chain
Let the callers of bdrv_open_inherit() call bdrv_attach_child(). It needs to be called in all cases where bdrv_open_inherit() succeeds (i.e. returns 0) and a child_role is given. bdrv_attach_child() is moved upwards to avoid a forward declaration. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions