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

Ján Tomko jtomko at redhat.com
Tue Feb 9 14:39:18 UTC 2021


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;

Suspicious semicolon.

Jano

>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_namespace.c | 15 ++++-----------
> 1 file changed, 4 insertions(+), 11 deletions(-)
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210209/514e5ca3/attachment-0001.sig>


More information about the libvir-list mailing list