commit | 4c265bf9f434d4b47f42e3c079adc205b7625ad6 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Fri Feb 26 10:22:16 2016 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu May 19 16:45:31 2016 +0200 |
tree | fd9b775bf928f0d79cdd10cc74223b7673a0fdb7 | |
parent | 5c8cab48087d3544cb788309ac729bca08244020 [diff] |
block: User BdrvChild callback for device name In order to get rid of bs->blk for bdrv_get_device_name() and bdrv_get_device_or_node_name(), ask all parents for their name and simply pick the first one. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>