]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Alter logic when both BLKID and PARTED unavailable
authorJohn Ferlan <jferlan@redhat.com>
Fri, 13 Jan 2017 00:29:40 +0000 (19:29 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Sat, 14 Jan 2017 15:13:05 +0000 (10:13 -0500)
commitd1f5dfc416b28793c454b3204600bc9ad944e473
tree127d78046005eb1e87aa0f537940c3b0fd314a50
parentd18be36599c65fb85a57fec7b0b4dfe7372755d3
storage: Alter logic when both BLKID and PARTED unavailable

If neither BLKID or PARTED is available and we're not writing, then
just return 0 which allows the underlying storage pool to generate
a failure. If both are unavailable and we're writing, then generate
a more generic error message.
src/storage/storage_backend.c