[PATCH v7 21/47] block: Use CAFs in bdrv_refresh_filename()

2020-06-25 Thread Max Reitz
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 --- block.c | 29 + 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/block.c b

Re: [PATCH v7 21/47] block: Use CAFs in bdrv_refresh_filename()

2020-07-15 Thread Andrey Shinkevich
On 25.06.2020 18:21, Max Reitz wrote: 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 --- block.c | 29 + 1 file changed, 21 insertions(

Re: [PATCH v7 21/47] block: Use CAFs in bdrv_refresh_filename()

2020-07-15 Thread Andrey Shinkevich
On 15.07.2020 15:52, Andrey Shinkevich wrote: On 25.06.2020 18:21, Max Reitz wrote: 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 ---   block.c | 29 +

Re: [PATCH v7 21/47] block: Use CAFs in bdrv_refresh_filename()

2020-07-16 Thread Max Reitz
On 15.07.20 14:52, Andrey Shinkevich wrote: > On 25.06.2020 18:21, Max Reitz wrote: >> 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 >> --- >>   block.c | 2