]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Fix volStorageBackendRBDRefreshVolInfo function return errors
authorYi Li <yili@winhong.com>
Mon, 23 Dec 2019 01:15:39 +0000 (09:15 +0800)
committerCole Robinson <crobinso@redhat.com>
Mon, 23 Dec 2019 19:29:46 +0000 (14:29 -0500)
commita9eaaccd225a84bf0d28a4e3c1dbd3100a021dd7
treec45a785bbfd0d1460e7f634040f5fef0cef06da3
parentc898bda96953beb7ffec10f81dfe95a09f4362a6
storage: Fix volStorageBackendRBDRefreshVolInfo function return errors

Fix the return value status comparison checking for call to
volStorageBackendRBDRefreshVolInfo introduced by commit id f46d137e.

we only should fail when the return is < 0. -ENOENT, -ETIMEDOUT will
ignore according commit id f46d137e.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Yi Li <yili@winhong.com>
src/storage/storage_backend_rbd.c