block: Use CAFs in bdrv_refresh_filename()
commit52f72d6fb62d83eb23f9ff45aad2d9a95c7f8f63
authorMax Reitz <mreitz@redhat.com>
Wed, 12 Jun 2019 15:43:03 +0000 (12 17:43 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 7 Sep 2020 10:31:31 +0000 (7 12:31 +0200)
treee4f9180194ff7a36e1fd087298bb0a5d5dacda11
parent66b129ac5ec0f1c66e5574e91bd1e19c4047888b
block: Use CAFs in bdrv_refresh_filename()

bdrv_refresh_filename() and the kind of related bdrv_dirname() should
look to the primary child when they wish to copy the underlying file's
filename.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
block.c