[PATCH 02/15] virStorageSourceParseBackingJSON: Move deflattening of json: URIs out of recursion
Ján Tomko
jtomko at redhat.com
Thu Feb 6 15:07:30 UTC 2020
On Thu, Feb 06, 2020 at 08:51:54AM +0100, Peter Krempa wrote:
>Originally virStorageSourceParseBackingJSON didn't recurse, but when
>the 'raw' driver support was added we need to parse it's information
>which contains nested 'file' object.
>
>Since the deflattening helper recurses already there's no need to call
>it again. Move it one level up to the entry point.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/util/virstoragefile.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
Reviewed-by: Ján Tomko <jtomko at redhat.com>
Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200206/d01d976d/attachment-0001.sig>
More information about the libvir-list
mailing list