Re: [PATCH 06/40] qemuNamespaceUnlinkPaths: Fix inconsistent cleanup handling

2021-02-09 Thread Ján Tomko
On a Saturday in 2021, Peter Krempa wrote: Some code paths return -1 directly while others jump to 'cleanup' which cleans the list of mounts. Since qemuDomainGetPreservedMounts now returns a NULL-terminated list, convert devMountsPath to g_auto(GStrv) and remove the cleanup altoghether; Suspici

[PATCH 06/40] qemuNamespaceUnlinkPaths: Fix inconsistent cleanup handling

2021-02-06 Thread Peter Krempa
Some code paths return -1 directly while others jump to 'cleanup' which cleans the list of mounts. Since qemuDomainGetPreservedMounts now returns a NULL-terminated list, convert devMountsPath to g_auto(GStrv) and remove the cleanup altoghether; Signed-off-by: Peter Krempa --- src/qemu/qemu_names