[Qemu-block] [PATCH v5 08/42] block: bdrv_set_backing_hd() is about bs->backing

2019-06-12 Thread Max Reitz
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 --- block.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-

Re: [Qemu-block] [PATCH v5 08/42] block: bdrv_set_backing_hd() is about bs->backing

2019-06-13 Thread Vladimir Sementsov-Ogievskiy
13.06.2019 1:09, Max Reitz wrote: > 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 Reviewed-by: Vladimir Se