Re: [PATCH v7 04/47] block: bdrv_set_backing_hd() is about bs->backing

2020-07-08 Thread Andrey Shinkevich
On 25.06.2020 18:21, 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

[PATCH v7 04/47] block: bdrv_set_backing_hd() is about bs->backing

2020-06-25 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 Reviewed-by: Vladimir Sementsov-Ogievskiy --- block.c | 4 ++-- 1