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

2020-02-19 Thread Eric Blake
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 --- src/util/virstoragefile.c | 4 ++-- 1 file changed,

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

2020-02-17 Thread Peter Krempa
Replacing virHashLookup by virHashHasEntry allows to use NULL as the payload of the hash table rather than putting a fake '1' pointer into the table. Signed-off-by: Peter Krempa --- src/util/virstoragefile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/virstor