]> git.ipfire.org Git - thirdparty/qemu.git/commit
block: bdrv_set_backing_hd() is about bs->backing
authorMax Reitz <mreitz@redhat.com>
Wed, 12 Jun 2019 16:42:34 +0000 (18:42 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 7 Sep 2020 10:31:30 +0000 (12:31 +0200)
commit9ee413cb561092e2db2ba5a7110282a36fb9fd25
treec9188ed93141e3ea5223c6a16ab14d39f7c7779f
parent34778172f1eb75796c8af9fae8d88b889cff4fd2
block: bdrv_set_backing_hd() is about bs->backing

bdrv_set_backing_hd() is a function that explicitly cares about the
bs->backing child.  Highlight that in its description and use
child_bs(bs->backing) instead of backing_bs(bs) to make it more obvious.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
block.c