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

Peter Krempa pkrempa at redhat.com
Wed Apr 23 21:17:04 UTC 2014


On 04/23/14 18:18, Eric Blake wrote:
> 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.

Okay, I've just pushed patches 1-17 (with 3 and 6 squashed together) and
I'll post the rebased version of this one soon.

Peter


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


More information about the libvir-list mailing list