[libvirt] [PATCH 1/4] storage: Fix error reporting when looking up storage pool sources

Ján Tomko jtomko at redhat.com
Tue Jan 17 13:03:41 UTC 2017


On Tue, Jan 10, 2017 at 07:44:56PM +0100, Peter Krempa wrote:
>In commit 4090e15399 we went back from reporting no errors if no storage
>pools were found on a given host to reporting a bad error. And only in
>cases when gluster was not installed.
>
>Report a less bad error in case there are no volumes. Also report the
>error when gluster is installed but no volumes were found, since
>virStorageBackendFindGlusterPoolSources would return success in that
>case.
>---
> src/storage/storage_backend.c    | 19 ++++++++++++-------
> src/storage/storage_backend_fs.c | 20 ++++++++++++++------
> 2 files changed, 26 insertions(+), 13 deletions(-)
>

ACK

Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170117/90d34677/attachment-0001.sig>


More information about the libvir-list mailing list