[libvirt] [PATCHv5 07/28] util: storagefile: Add deep copy for struct virStorageSource

Eric Blake eblake at redhat.com
Tue Jul 8 03:15:01 UTC 2014


On 07/04/2014 05:29 AM, Peter Krempa wrote:
> Now that we have pointers to store disk source information and thus can
> easily exchange the structs behind we need a function to copy all the
> data.
> ---
>  src/libvirt_private.syms  |   1 +
>  src/util/virstoragefile.c | 194 ++++++++++++++++++++++++++++++++++++++++++++--
>  src/util/virstoragefile.h |   3 +
>  3 files changed, 190 insertions(+), 8 deletions(-)
> 


> @@ -1771,11 +1954,11 @@ virStorageSourceBackingStoreClear(virStorageSourcePtr def)
>  }
> 
> 
> +
> +
>  void
>  virStorageSourceClear(virStorageSourcePtr def)
>  {

Extra newline here.

ACK with that fixed.

-- 
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/20140707/2e5cf32c/attachment-0001.sig>


More information about the libvir-list mailing list