[libvirt] [PATCH 18/18] util: storage: Invert the way recursive metadata retrieval works

Eric Blake eblake at redhat.com
Wed Apr 23 16:18:50 UTC 2014


On 04/20/2014 04:13 PM, Peter Krempa wrote:
> To avoid having the root of a backing chain present twice in the list we
> need to invert the working of virStorageFileGetMetadataRecurse.
> 

>  /* Recursive workhorse for virStorageFileGetMetadata.  */
>  static int
> -virStorageFileGetMetadataRecurse(const char *path, const char *canonPath,
> -                                 const char *directory,
> -                                 int format, uid_t uid, gid_t gid,
> -                                 bool allow_probe, virHashTablePtr cycle,
> -                                 virStorageSourcePtr meta)
> +virStorageFileGetMetadataRecurse(virStorageSourcePtr src,
> +                                 const char *canonPath,
> +                                 uid_t uid, gid_t gid,
> +                                 bool allow_probe,
> +                                 virHashTablePtr cycle)
>  {

In actually trying to apply this patch, I hit merge conflicts from my
previous suggested changes.  At this point, it would be easier for me if
you can rebase the series, apply the acked patches, and post a v2 of
this one.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140423/9f038936/attachment-0001.sig>


More information about the libvir-list mailing list