diff options
author | Kevin Wolf <kwolf@redhat.com> | 2015-06-15 11:53:47 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2015-07-14 15:55:19 +0200 |
commit | df5817926790f6e84d1936eab523556f96fa577a (patch) | |
tree | 2b0b229b756ee7314a2d9217446599ee1612acf0 /pc-bios/linuxboot.bin | |
parent | 30349fd038ffb26528fad21abe1e264031364449 (diff) | |
download | hqemu-df5817926790f6e84d1936eab523556f96fa577a.zip hqemu-df5817926790f6e84d1936eab523556f96fa577a.tar.gz |
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 'pc-bios/linuxboot.bin')
0 files changed, 0 insertions, 0 deletions