]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Cleanup failures virStorageBackendCreateExecCommand
authorJohn Ferlan <jferlan@redhat.com>
Tue, 3 Nov 2015 16:30:23 +0000 (11:30 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 4 Nov 2015 12:21:11 +0000 (07:21 -0500)
commit9345c2bfcf941ff90a09ce1d824847bb7b0418db
tree2e786bd4542ede4a5800592dde20d7682154c11b
parent77346f2787c0738663f6a62695b43b6216be6b15
storage: Cleanup failures virStorageBackendCreateExecCommand

After a successful qemu-img/qcow-create of the backing file, if we
fail to stat the file, change it owner/group, or mode, then the
cleanup path should remove the file.
src/storage/storage_backend.c