[PATCH 5/9] virStorageFileGetMetadataRecurse: Use virHashHasEntry instead of fake pointers

Eric Blake eblake at redhat.com
Wed Feb 19 15:50:51 UTC 2020


On 2/17/20 11:13 AM, Peter Krempa wrote:
> Replacing virHashLookup by virHashHasEntry allows to use NULL as the

allows us to

> payload of the hash table rather than putting a fake '1' pointer into
> the table.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>   src/util/virstoragefile.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 

Reviewed-by: Eric Blake <eblake at redhat.com>

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




More information about the libvir-list mailing list