]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Jump to cleanup label on umount failure
authorJim Fehlig <jfehlig@suse.com>
Mon, 6 Feb 2023 17:40:12 +0000 (10:40 -0700)
committerJim Fehlig <jfehlig@suse.com>
Tue, 7 Feb 2023 17:52:35 +0000 (10:52 -0700)
commitc3f16cea3bef578c498c720aa90c677ee9511e2f
tree506015fa90ab9415f40444734d92471df7caeec1
parent5c4007ddc6c29632b5cc96ab4ef81ebb7797d1bb
qemu: Jump to cleanup label on umount failure

Similar to other error paths in qemuDomainUnshareNamespace(), jump to
the cleanup label on umount error instead of directly returning -1.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_namespace.c